-
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
Test methods with FsCheck.Xunit.PropertyAttribute throws MissingMethodException in xUnit 2.9 #682
Comments
I wonder does moving to FsCheck v3 rc3 make any difference? |
Unfortunately I don't have the time to upgrade the whole project to v3 right now. The quickest workaround is to downgrade xUnit to 2.8.1. Just FYI xunit/xunit#2996 (comment) |
Fair enough; not doubting the facts, and it's great to have the issue logged and workaround noted. Just saying more than likely someone will need to do the legwork to: ... and that I'd likely do the first step and then decide whether I want to do the second, or port my tests to V3 given it's pretty stable now. (I'd also replied to your other issue that you linked) |
This is the likely problem: xunit/xunit#2996 (comment)
We formalized the support for passing along |
Methods which uses
FsCheck.Xunit.PropertyAttribute
, throwsMissingMethodException
in xUnit version 2.9 when havingITestOutputHelper
as a ctor dependency. Removing the ctor seems to solve the problem. This error is not present in 2.8.1. FsCheck version used is 2.16.6.Exception:
Repro:
xunit/xunit#2996
The text was updated successfully, but these errors were encountered: