-
Notifications
You must be signed in to change notification settings - Fork 157
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
NUnit analyzer emits NUnit1027 error on Property tests with arguments #623
Comments
Isn't this a bug in the NUnit analyzer package? |
Agree with @ploeh, there doesn't seem to be a concrete action we can take on the FsCheck side? Not inheriting from |
Have you tried reporting this to the NUnit team? |
No, I will open a similar issue there |
@lucasteles When that's done, suggest posting a link here (or referencing this issue in the one you're logging) and closing this issue |
See also: #637 |
[Property]
attibute gives NUnit1027 when tests have arguments
NUnit have an analyser package to help on common mistakes
One of them is when you expect arguments in an
[Test]
, it gives the NUnit1027 error. It predicts that only[TestCase]
can have parameters.So, as our
PropertyAttribute
inherits fromTestAttribute
the analyzer will accuse errorWorkarounds:
NUnit1027
checkWould be good to not have this kinda error in a basic test setup
The text was updated successfully, but these errors were encountered: