cbeust/testng — pull request #397 by wutingbupt (2013-06-07 13:46:23+00:00)
Title: Remove useless config method in testng-failed.xml

Hi Beust,

Currently, when we run a testng suite like this:

@BeforeClass
public void beforeClass(){
System.err.println("Before class");
}

@BeforeSuite
public void beforeSuite(){
System.err.println("beforeSuite");
}

@BeforeMethod
public void beforeMethod(){
System.err.println("beforeMethod");
}
@Test
public void test1(){
int a = 1/0;
}

The test case will fail and final testng-failed.xml looks like this:
'''

'''

The config method was added in this file too,I dont know why we need this.

My patch is reduce those config methods.

Look forward for your reply.

Br,
Tim