Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qmtest] Re: How to Display stdout while test is running


  • To: "Jain, Pankaj" <pankajj@xxxxxxxxxxxx>
  • Subject: [qmtest] Re: How to Display stdout while test is running
  • From: Mohamed Barwani <mohamedb@xxxxxxx>
  • Date: Mon, 28 Jul 2008 09:45:19 +1000

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