Selenium Java - TestNG Integration
Given the following DataProvider and test method, how many times will the test run?
@DataProvider(name = "numbers")
public Object[][] data() {
return new Object[][] { {1}, {2}, {3} };
}
@Test(dataProvider = "numbers")
public void testNumber(int num) {
System.out.println(num);
}