How to Display stdout while test is running

Mohamed Barwani mohamedb at sgi.com
Sun Jul 27 23:45:19 UTC 2008


On Sat, 26 Jul 2008 04:27:49 am Jain, Pankaj wrote:
> Thanks for the response.
> I am using command.ExecTest class extension. Please let me know how to
> display stdout while test is in progress.
> Pankaj
>

command.ExecTest is one of those test that compares the stdout with what you 
specify in Expected Output field, if they don't match the test fails.

If you like, you could write your own test class that logs the stdout while 
the child process is being executed. Otherwise if you run qmtest run --format 
full that should show you the stdout of the test. Am not quite sure how the 
gui works, but I hope that helps.

cheers
-- 
Mohamed Barwani
ASGQA
"Non-determinism... hard to debug... These kinds of bugs are almost impossible 
to find by testing; they can only
be avoided by careful programming."
--Allen B. Downey




More information about the qmtest mailing list