You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arrays can be inconvenient to work with. It would be nice if DataProviders could return a larger variety of types.
Particularly, I'd like to be able to use List<List<Object> as the return type, but something more general like Iterable<? extends Iterable<?>> might be better.
The text was updated successfully, but these errors were encountered:
I've found it's possible to knock out arbitrary Iterable<? extends Iterable<?>> by setting a configurable object's (of the test class) variable through @Factory wherein the object.variable is set to an instance of <? extends Iterable<?>>, and the object.variable gets passed to an @DataProvider which unwraps the iterator Iterable<?> onto the @DataProvider's array, a la [i][0] = <?>
Arrays can be inconvenient to work with. It would be nice if DataProviders could return a larger variety of types.
Particularly, I'd like to be able to use
List<List<Object>
as the return type, but something more general likeIterable<? extends Iterable<?>>
might be better.The text was updated successfully, but these errors were encountered: