-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.0.0.Alpha3
-
None
If there are dependent tests (@Test(dependsOnMethods = "...")), TestNG throws this exception:
org.testng.TestNGException: TestClass.testBBB() is not allowed to depend on public void TestClass.testAAA() throws java.lang.Exception
at org.testng.internal.MethodHelper.findMethodsNamed(MethodHelper.java:149)
Moreover, @AfterClass methods are called after each test, and additionally after the whole class. Same with @BeforeClass.