logo       

Re: design issue: msg#00182

java.junit.user

Subject: Re: design issue

--- 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




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

News | FAQ | advertise