Friday, February 5, 2010

testng fixtures in test class

* it runs before whole Test class started to process (fail!)

@BeforeTest
protected void setUp() throws Exception {



* it runs before every test method in Test class (ok)

@BeforeMethod
protected void setUp() throws Exception {

No comments:

Post a Comment