Replies: 2 comments 1 reply
-
Hi @alexxRizz, you mean as a shorthand for: @CartesianTest
void test(
@Values(booleans = {true, false}) boolean x,
@Values(booleans = {true, false}) boolean y) {
System.out.println(x + " and " + y + " = " + (x && y));
} And/or more generally a Related: junit-team/junit5#2878 |
Beta Was this translation helpful? Give feedback.
1 reply
-
For example, in C# similar approach exists in NUnit: [Test]
public void MyBoolTest([Values] bool value1, [Values] bool value2)
{
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I feel strange there is no such annotation in this cool library. Something like this:
Usage:
Beta Was this translation helpful? Give feedback.
All reactions