- Original Message -
From: "Phil Surette" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 2:11 PM
Subject: RE: Is there any way to run a single test _method_ with ?
> Thanks for the info, but
between test runs in some static
variables which are hidden from me (private).
-Original Message-
From: Ylan Segal [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 4:54 PM
To: Ant Users List
Subject: RE: Is there any way to run a single test _method_ with
?
Phil,
> The reaso
Phil,
> The reason I want to do this is that there is some static
> cruft left around by a class used by the tests which
> messes up subsequent tests, so I'd like to run each
> test method separately with fork='true'.
>
As do not think that you can do what you want, but there is a little bit of
ho
I typically write a single JUnit class with several
related test methods and common setUp/tearDown methods,
and a suite method that glomps all the tests together
autointrospectively.
for instance:
class MyTest extends TestCase {
public void testNormalRequest(){...}
public void testSecondReque