I\'m using TestNG
for Eclipse
.
Is it possible to give two data providers step by step to the same test-function?
I co
Please refer to this answer:
TestNG using multiple DataProviders with single Test method
It is much cleaner and will work for more complex things.
Maybe someone will need it too, I rewrote this method public static T[] concatAll(T[] first, T[]... rest)
in a different way:
public static Object[] concat(Object[] first, Object[] second) {
Object[] result = ArrayUtils.addAll(first, second);
return result;
}