jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Agrawal" <a.agra...@popnet.co.in>
Subject RE: Need Help in testresult.jsp
Date Mon, 30 Jun 2003 10:16:39 GMT
Thanks chris,

  I will try <junitreport> task  for my testing.

With regards

-----Original Message-----
From: Christopher Lenz [mailto:cmlenz@gmx.de] 
Sent: Monday, June 30, 2003 3:47 PM
To: Cactus Users List
Subject: Re: Need Help in testresult.jsp


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
the ability to capture messages printed to System.err/System.out and
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.


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:cmlenz@gmx.de]
> Sent: Monday, June 30, 2003 2:49 PM
> To: cactus-user@jakarta.apache.org
> 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 
>>I want to display data in the same jsp where testresults
>>are displayed.
>>With regards

To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message