jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Plass <DPl...@TCICREDIT.COM>
Subject RE: ServletTestRunner ant usage help
Date Tue, 16 Mar 2004 17:10:35 GMT
Yes, but I still have to (re-)deploy the server-side classes!
Since I'm running on my desktop, I might as well run server-side only.


-----Original Message-----
From: Kazuhito SUGURI [mailto:suguri.kazuhito@lab.ntt.co.jp] 
Sent: Tuesday, March 16, 2004 12:00 PM
To: cactus-user@jakarta.apache.org
Subject: Re: ServletTestRunner ant usage help

Hi David,

In article <B6444D0E406AD511ADFB00D0B7893A690123EB11@EXCHANGE>,
Tue, 16 Mar 2004 11:34:19 -0500,
David Plass <DPlass@TCICREDIT.COM> wrote: 
DPlass> I care because I "write a little, test a little".  I don't want to
DPlass> to build a war every time I write a test and want to run it.  So in
DPlass> desktop/
DPlass> development environment, I deploy an "exploded" war (WebLogic 6.1).

Well, how about <junit> task?
Cactus tests can be executed from command-line something like
	java junit.textui.TestRunner my.cactus.test.AllTests
as long as your client side classpath is properly configured.
So, <java> task can be used, also.

Of cource, the part of build.xml will not be so simple
as Cactus provided ant tasks, such as <cactus> :-)
However, if your primary requirement is AUTOMATE your tests,
those will be candidates.

Kazuhito SUGURI
E-mail: suguri.kazuhito@lab.ntt.co.jp

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

View raw message