On Fri, 12 Nov 2010 13:16:58 -0500 "Christopher Dolan" <[email protected]> wrote:
> One more thing: the annotations are named similarly, but they are NOT
> shared. It's @org.testng.Test vs. @org.junit.Test, for example. The
> similarity makes it easier to change the source code via
> s/junit/testng/g but it's not zero-effort.
> Chris
A further thing I found useful: test methods can be
ordered/made dependent.
@Test
public void m1() {...}
@Test(dependsOnMethods="m1")
public void m2() {...}
Zsolt
