>
>
> --- Ilja Preuss <[EMAIL PROTECTED]> wrote:
>
> > radu milos wrote:
> > > Hello ,
> > >
> > > As the subject says it, i found out that the
> > > constructor of a testCase get executed for every
> > test
> > > method. Is this the normal behaviour ?
> >
> > Yes. That is the intended behaviour.
> >
> > Cheers, Ilja
> >
> >
>
> but then... also setUp() gets executed for every
> method, isn't it? why do we have setUp() for ?
Radu:
Instead of asking each of these questions and waiting for an answer, you
might want to find a tutorial online that can answer some of these
questions.
Try these:
* http://tinyurl.com/5p8u8
* http://www.xprogramming.com/testfram.htm
Also, look at the documentation that ships with JUnit. If you need more,
search with Google. There are hundreds of articles on the web that
explain these issues.
Good luck.
--
J. B. (Joe) Rainsberger
Diaspar Software Services
http://www.diasparsoftware.com
Author, JUnit Recipes: Practical Methods for Programmer Testing
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
