I\'m using TestNG
for Eclipse
.
Is it possible to give two data providers step by step to the same test-function?
I co
No, but nothing stops you from merging these two data providers into one and specifying that one as your data provider:
public Object[][] dp1() {
return new Object[][] {
new Object[] { "a", "b" },
new Object[] { "c", "d" },
};
}
public Object[][] dp2() {
return new Object[][] {
new Object[] { "e", "f" },
new Object[] { "g", "h" },
};
}
@DataProvider
public Object[][] dp() {
List