jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Arndt <jarndt...@yahoo.com>
Subject Re: writing a test suite
Date Thu, 03 Apr 2003 00:56:09 GMT
i don't think automatically, but you could use a class
variable and do it in the setUp method.

--- Jason Novotny <novotny@aei.mpg.de> wrote:
> 
> Hi,
> 
> What is the easiest way to write a test suite for a
> particulaar web 
> application containing a single servlet. With Junit
> before I would 
> create a test suite that I could add individual
> tests in like so:
> 
> TestSuite suite = new TestSuite();
>         suite.addTest(new TestSuite(TestOne.class));
>         suite.addTest(new TestSuite(TestTwo.class));
>     ...
> 
>     Basically do I have to do a "SampleServlet
> sample = new 
> SampleServlet()" in every testXXX method, or is
> there some way to have 
> that automatically doen for me in every method in
> every test in my 
> testsuite?
> 
>     Thanks, Jason
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> cactus-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

Mime
View raw message