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 is surprising that these @FromDataPoints-annotated parameters receive the same values as if the annotation were omitted. This means that typos in data point names aren't flagged as errors.
If the @FromDataPoints is present, and nothing matches, it would be helpful to raise "Never found parameters that satisfied method assumptions.".
The text was updated successfully, but these errors were encountered:
awturner
added a commit
to awturner/junit4
that referenced
this issue
Feb 11, 2020
To ensure that the @FromDataPoints annotation correctly enforces that data points are used as specified and raises an error if there are no matching data points, you can use JUnit's Assume class. This will help ensure that if the specific data points are not provided, the tests will fail with a clear message. @awturner
1.import org.junit.Assume;
2.Use Assume.assumeTrue to check if the data points are available before running the tests.
@awturner could you assign me this i'll just try to bebug it?
It is surprising that these
@FromDataPoints
-annotated parameters receive the same values as if the annotation were omitted. This means that typos in data point names aren't flagged as errors.If the
@FromDataPoints
is present, and nothing matches, it would be helpful to raise "Never found parameters that satisfied method assumptions.".The text was updated successfully, but these errors were encountered: