|
Re: design issue: msg#00184java.junit.user
Thanks, J.B., I will follow your practical recommendation. But still there are 2 theoretical questions: 1. How to implement TestListener in a TestCase? More exactly, how to add it? 2. What is the difference between setUp() and startTest()? -------------------------- --- "J. B. Rainsberger" <jbr@xxxxxxxxxxxxxxxxxxx> 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); > > To be clear, you wish to execute some code once, > then run all tests in a > TestCase. If I understand you correctly, then please > search through Google > for the JUnit FAQ. The answer will be in there. Look > for TestSetup. > > -- > J. B. Rainsberger, > President, Diaspar Software Services > Let's write software that people understand. > http://www.diasparsoftware.com/ > telephone: +1 416 791-8603 > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: design issue, J. B. Rainsberger |
|---|---|
| Next by Date: | Re: Re: design issue, Boris Garbuzov |
| Previous by Thread: | Re: design issue, J. B. Rainsberger |
| Next by Thread: | Re: design issue, J. B. Rainsberger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |