[
https://issues.jenkins-ci.org/browse/JENKINS-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno P. Kinoshita resolved JENKINS-12969.
------------------------------------------
Resolution: Fixed
Fixed in 3.1.2
> Create result seeking strategy that uses TestNG data provider
> -------------------------------------------------------------
>
> Key: JENKINS-12969
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12969
> Project: Jenkins
> Issue Type: Improvement
> Components: testlink
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Priority: Minor
>
> 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[][] {
> { "Cedric", new Integer(36) },
> { "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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira