Posted By:
jochen_herrmann
Posted On:
Tuesday, March 2, 2004 02:04 AM
Hi, I run several testcases with junit that generate a lot of messages. For all succesful testcases I need only a short message, for all faulty testcases I need a detailed log. Desired Solution: Each start of a testcase should set some somekind of flag/marker. After that the testcase will run as normal and generate output to the log. When the test was successful, it should remove all previous logmessage back to the flag/marker set in the beginning. (and set a short log message to report success). When the test fails, log stays as it is. Are there any known solutions with such a feature, like to rollback the log to a specific point?
More>>
Hi,
I run several testcases with junit that generate a lot of messages. For all succesful testcases I need only a short message, for all faulty testcases I need a detailed log.
Desired Solution:
Each start of a testcase should set some somekind of flag/marker.
After that the testcase will run as normal and generate output to the log.
When the test was successful, it should remove all previous logmessage back to the flag/marker set in the beginning. (and set a short log message to report success).
When the test fails, log stays as it is.
Are there any known solutions with such a feature,
like to rollback the log to a specific point?
Any ideas, any hints?
Thanks and bye
Jochen
<<Less