Tagged Questions
1
vote
0answers
140 views
Dependent methods in the same class run out of order only when included in a “testng suite”; running class independently respects the dependency
I have a class with dependent methods using the TestNG annotation
dependsOnMethods
The test runs fine 100% of the time if I simply run it as a TestNG Test from the package.
When I include the test ...
0
votes
1answer
123 views
TestNg not executes @BeforeGroup if the method is in another class
My code structure is like this...
I have 4 classes having 10 tests and one @BeforeClass method to run before any of the test.In each of 4 classes ,all tests are of one single group.
And I have one ...