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
It would be nice to provide 2 (or more) @EnumSource for a single @ParameterizedTest test.
I would expect such construct to generate each possible combination of provided enum set.
Right now i'm looping over both Enums (in a data provider, the @MethodAource) and creating Arguments.of() and then returning Stream.of() these Argumetns. Works.
The text was updated successfully, but these errors were encountered:
sbrannen
changed the title
Allow Multiuple EnumSource for ParametrizedTest
Support cartesian product for multiple @EnumSource annotations for @ParameterizedTestMay 24, 2024
It would be nice to provide 2 (or more)
@EnumSource
for a single@ParameterizedTest
test.I would expect such construct to generate each possible combination of provided enum set.
What i'm going for is similar functionality as jest (typescript/jsvascript) has when dealing with nested
describe.each
https://jestjs.io/docs/api#describeeachtablename-fn-timeoutRight now i'm looping over both Enums (in a data provider, the
@MethodAource
) and creatingArguments.of()
and then returningStream.of()
these Argumetns. Works.The text was updated successfully, but these errors were encountered: