why don't you use Ant (or Maven) to automate the tests? Ant has a <junitreport> task that generates reports very similar to those generated by the ServletTestRunner -- but more powerful. As I said before, it includes the ability to capture messages printed to System.err/System.out and display them in the reports (in pop-up windows, IIRC). You can even send those reports as HTML mails to your devs/testers if a test fails, using the builtin <mimemail> task, etc etc.
IMHO, the ServletTestRunner is nice for playing around, but shouldn't be used in more serious scenarios, especially with larger teams.
-chris
Anil Agrawal wrote:
Thanks chris,
Please give me guideance.
We are writing automated testcases for all our components.
Our purpose it to run all our testcases periodically and any
One will run these testcases. Now data which will be entered
Today will not be valid after 6 months. So if we can display
Those data in our testresult.jsp then viewer will get better
Idea why test failed? Otherwise he has to check the source
Data.
With regards
anil
-----Original Message-----
From: Christopher Lenz [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Need Help in testresult.jsp
Anil,
that is not supported, and probably will never be.
-chris
Anil Agrawal wrote:
I am using cactus servlet test runner.
I am getting all testresults properly in testjsp.
I want to display all the data which I have entered before my testcase call junit.framework.Assert.fail() method.
I dont want to use System.out.println & System.err.println
which will print the out put on console. I dont want to use any logging mechanisam.
I want to display data in the same jsp where testresults are displayed.
With regards anil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
