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
A common use case we have is a test that take a bunch of boolean flags a check very slightly (mostly in expected value) based on this flag.
Classic for a ParameterizedTest, which is what we use today, but for the source we currently use CsvSource with the boolean options:
Which is annoying, verbose and error-prone.
So I wanted to implement an annotation like @AllBooleanCombinationsSource(int) that takes the number of boolean params and generate all possible combinations.
Though this might be a bit too specific, so wanted to get your opinion, is that something that you think belongs in Junit?
The text was updated successfully, but these errors were encountered:
A common use case we have is a test that take a bunch of boolean flags a check very slightly (mostly in expected value) based on this flag.
Classic for a ParameterizedTest, which is what we use today, but for the source we currently use CsvSource with the boolean options:
Which is annoying, verbose and error-prone.
So I wanted to implement an annotation like
@AllBooleanCombinationsSource(int)
that takes the number of boolean params and generate all possible combinations.Though this might be a bit too specific, so wanted to get your opinion, is that something that you think belongs in Junit?
The text was updated successfully, but these errors were encountered: