@BeforeClass and @AfterClass on parent class are not executed -------------------------------------------------------------
Key: SUREFIRE-479 URL: http://jira.codehaus.org/browse/SUREFIRE-479 Project: Maven Surefire Issue Type: Bug Components: TestNG support Affects Versions: 2.4.2 Reporter: Erik Putrycz I have public abstract class A { @BeforeClass public void init() {...} @AfterClass public void cleanup() {...} } and @Test public class TestA extends A { public void testSomething() {...} } when surefire executes testSomething, the @BeforeClass and @AfterClass are never being called. I have testng 5.7. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira