-
Improvement
-
Resolution: Fixed
-
Minor
-
None
From https://issues.jenkins-ci.org/browse/JENKINS-12916
2.And one more question: I'm using dataproviders in my tests. Do I have any mechanism to map the pairs (test-methode,dataprovider Object[]) to the tests.
I mean if I have
@DataProvider(name = "test1")
public Object[][] createData1() {
return new Object[][]
,
{ "Anne", new Integer(37)},};
}
//This test method declares that its data should be supplied by the Data Provider
//named "test1"
@Test(dataProvider = "test1")
public void verifyData1(String n1, Integer n2) { AssertJUnit.assertTrue( n1.equals("Anne")); }
And I have 2 test in Testlink: 1. for { "Cedric", new Integer(36) }, 2. for { "Anne", new Integer(37)}
.
And the results should map to each test
The issue created in TestNG is: https://github.com/cbeust/testng/issues/181
Bruno