-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@FromDataPoints("misspelled") EnumType
shouldn't test all enum values
#1648
Comments
…re is no @FromDataPoints annotation, or the named data points represent a non-empty set of the same type. Fixes junit-team#1648
Ping? |
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; @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: