Hi all, Is there support in Boost for testing program output, which depends exclusively in its arguments? Briefly, my program is not-interactive and its result (to stdout) depends uniquely on its input argument. Is there anything in Boost that can help me test my program this way? I've been using the Unit Testing Framework for unit tests and for the tests I've mentioned I've only found dejagnu up until now. Another solution would be bash-scripts that would run the program and check output, but that's not nice enough for me. Anything in Boost I might use? If not, are there any other suggestions? Cheers, -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group
"Paulo J. Matos"
Hi all,
Is there support in Boost for testing program output, which depends exclusively in its arguments?
Briefly, my program is not-interactive and its result (to stdout) depends uniquely on its input argument. Is there anything in Boost that can help me test my program this way?
I've been using the Unit Testing Framework for unit tests and for the tests I've mentioned I've only found dejagnu up until now. Another solution would be bash-scripts that would run the program and check output, but that's not nice enough for me.
Anything in Boost I might use? If not, are there any other suggestions?
you could always use some kind of "system" or "exec" call to invoke these programs from within your test module and check for appropriate output using regular Boost.Test tools. Gennadiy
On 05/08/06, Gennadiy Rozental
"Paulo J. Matos"
wrote in message news:11b141710608031126j4a7dd5a7h6b63a051d00339e@mail.gmail.com... Hi all,
Is there support in Boost for testing program output, which depends exclusively in its arguments?
Briefly, my program is not-interactive and its result (to stdout) depends uniquely on its input argument. Is there anything in Boost that can help me test my program this way?
I've been using the Unit Testing Framework for unit tests and for the tests I've mentioned I've only found dejagnu up until now. Another solution would be bash-scripts that would run the program and check output, but that's not nice enough for me.
Anything in Boost I might use? If not, are there any other suggestions?
you could always use some kind of "system" or "exec" call to invoke these programs from within your test module and check for appropriate output using regular Boost.Test tools.
OK, thanks! :-)
Gennadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group
participants (2)
-
Gennadiy Rozental
-
Paulo J. Matos