My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 3: Should addTrace() run when exception occurs?
  Back to list
Status:  WontFix
Owner:  virtix
Closed:  Aug 2007


 
Project Member Reported by virtix, Jun 10, 2007
What steps will reproduce the problem?
1. add addTrace() to test case
2. make it fail
3. trace message is blank

What is the expected output? What do you see instead?
Trace message should appear in output. However, maybe it shouldn't. If the 
trace message is dependent upon the successfull completion of the method 
being tested and that fails, trace cannot then print correct results, 
right?

Please use labels and text to provide additional information.


Aug 7, 2007
Project Member #1 virtix
I see addTrace() as a way for the developer to add comments. So, I would opt for 
having both addTrace('my message') _and_ capture any exception/stack info and load 
that into the test result object. The best of both worlds!
Status: WontFix

Powered by Google Project Hosting