logo       

Re: Re: design issue: msg#00185

java.junit.user

Subject: Re: Re: design issue

Thanks, Kent. I have already heard about the first
way. Can you explain the second? What "small-scale
tests" are?


-----------


--- kentlbeck <kentbeck@xxxxxxx> wrote:
> --- In junit@xxxx, Boris Garbuzov
> <boris_garbuzov@xxxx> wrote:
> > Can somebody suggest on some issue of JUnit API
> usage
> > or test case design? Sorry for a long appendix
> code.
> > The essence is that I want to start some
> application
> > once in VM session and run all my test methods
> > afterwards. I could not find sufficient place to
> put
> > my initial call
> > ClientMain.main (null);
>
> You can wrap your whole suite in a TestSetup
> subclass that calls
> ClientMain.main(null); or you can figure out how to
> write small-scale
> tests. I write smaller scale tests whenever
> possible, and if I think
> about it hard enough, it's always possible.
>
> Kent
>
>


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise