Re: [P-unit-devel] Nesting of Junit4 @BeforeClass and similar
Status: Beta
Brought to you by:
zhanghuangzhu
|
From: Andrew Z. <zha...@gm...> - 2008-05-29 11:41:26
|
On Thu, May 29, 2008 at 4:08 PM, Chris Wilson <ch...@cj...> wrote: > Hi, > > In JUnit 4 you can have several methods @before and @after (though not > @beforeclass or @afterclass). This is the advantage of annotations. > See: > > http://www.devx.com/Java/Article/31983/0/page/3 > I see, thanks! > <http://www.devx.com/Java/Article/31983/0/page/3> > > Cheers, > > Chris > > 2008/5/29 Andrew Zhang <zha...@gm...>: > > Hi Chris, > > > > I have a question about "allowMultiple" parameter. Why does > setUp/tearDown > > allow multiple? One class can only have one setUp/tearDown method? Or > it's > > JUnit4 convention? Thanks! > > > > Best regards, > > Andrew Zhang > > > -- Best regards, Andrew Zhang db4o - database for Android: www.db4o.com http://zhanghuangzhu.blogspot.com/ |