jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: test execution in browser
Date Fri, 14 May 2004 14:27:27 GMT
Hi Sumit,

I remember a discussion about this not long ago on this list (can't
remember the thread name but someone else had a need for this too). The
XML is generated in the
rnal/server/runner/XMLFormatter.html class. Feel free to provide a
patch. Please also open a JIRA issue.


> -----Original Message-----
> From: Gupta, Sumit [mailto:sumit.gupta@citigroup.com]
> Sent: 03 May 2004 19:53
> To: cactus-user@jakarta.apache.org
> Subject: test execution in browser
> Hi,
> I am using cactus to generate HTML report for my testsuite. I am using
> http://server:port/mywebapp/ServletTestRunner?suite=MyTestLoader
> to run my testcases from browser. Actually, I have made a program
> (MyTestLoader)that dynamically looks for the test cases in a specified
> directory of my Web Application, loads them and execute them using the
> above URL. The main testcase (MyTestLoader) contains a suite() method
> dynamically adds all the test cases found. Now, the problem is that I
> not getting the name of the testcases I am executing. The above URL
> generates an XML file that contains all the test methods under a node
> <testsuite>. Is it a way where I can generate an XML having different
> cases under different nodes? (So that a user can identify, which test
> method belong to which test case?)
> Thanks,
> Sumit
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message