ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Katzenberger <>
Subject Re: JUnit task: setUp() called before every test method
Date Sun, 16 Dec 2001 16:48:06 GMT
Hi Stanford,

On Sun, 16 Dec 2001 08:39:17 -0600, "Guillory, Stanford"
<> 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):

You can find lots of documentation, tutorials, etc at


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message