Hi Stanford,

On Sun, 16 Dec 2001 08:39:17 -0600, "Guillory, Stanford"
<[EMAIL PROTECTED]> wrote:

>I am using the junit task. However, I am noticing that the
>setUp() method of my TestCase classes is being called
>before every testX() method in the class, as opposed to
>once before all the testX() methods are called.
>
>This appears quite wrong, but I haven't looked into whether
>it's an ant junit task thing or a junit thing. Any ideas
>as to what I'm doing wrong?

This behaves as defined, setUp() is called before every test (i.e.
testX() method):

http://junit.sourceforge.net/javadoc/junit/framework/TestCase.html#setUp()

You can find lots of documentation, tutorials, etc at www.junit.org.


Regards,
Rolf

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to