[arquillian-issues] [JBoss JIRA] Closed: (ARQ-247) Using the tomcat 6 embedded profile, @AfterClass methods are called after each test and method dependencies don't work
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Tue Jun 28 10:14:23 EDT 2011
[ https://issues.jboss.org/browse/ARQ-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen closed ARQ-247.
-----------------------------
Assignee: Aslak Knutsen
Resolution: Duplicate Issue
reason for the behavior is the same as ARQ-245
> Using the tomcat 6 embedded profile, @AfterClass methods are called after each test and method dependencies don't work
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ARQ-247
> URL: https://issues.jboss.org/browse/ARQ-247
> Project: Arquillian
> Issue Type: Bug
> Components: Tomcat Containers
> Affects Versions: 1.0.0.Alpha3
> Reporter: Adam Warski
> Assignee: Aslak Knutsen
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list