Comments (3)
It's compatible, but that only means you can load the assembly and compile against it from a net472 runtime and sdk via "normal" means.
Tests usually gets loaded in the test runner (dotnet test
) via some reflection magic, and xunit plugging something into dotnet test via mechanisms I frankly don't know much about. It's strange that the runner (which seems to be the problem here) does not recoginze Property
as it uses a similar mechanism to Fact
afaik.
You may have more luck asking the xunit folks.
Does it work if you make the property public void TestProperty()
by any chance?
from fscheck.
Thanks for the quick answer! No, using public void TestProperty()
leads to the same result.
I found some XUnit issues that seem to be relevant and have not been fixed since 2018. I guess I'll use another test framework.
from fscheck.
closing this as it does not seem to be an FsCheck problem
feel free to re-open if that's incorrect
from fscheck.
Related Issues (20)
- Using `Collect` and `Classify` in conjunction with `And` or `Or` HOT 1
- Make generative collection types `IEnumerable` compatible
- Model-based testing seems to ignore command preconditions when model implementation is mutable? HOT 2
- How to globally register arbitraries in 3.x HOT 4
- Allow asynchronous tests to run on Task<'a> HOT 8
- xUnit analyzer emits errors on Property tests HOT 6
- NUnit question/ request? HOT 14
- Feature: In-box shortcut to obtain default generator for a type HOT 6
- FsCheck not registering a static method that takes Arbitrary<TType> in C# HOT 7
- How to generate instances of more complicated data structures HOT 3
- The type 'Config' does not define the field, constructor or member 'WithArbitrary' HOT 2
- Update docs with new `Arbitrary` API based on `ArbMap` HOT 6
- feat(FsCheck.Xunit): Support xUnit >= 2.5, < 3 HOT 1
- Modelbased testing? HOT 3
- Expose `Gen.choose64` HOT 1
- feat(FsCheck.NUnit): Support NUnit >= 4.0.0 HOT 1
- Model-based testing examples in C#? HOT 2
- Check.QuickAll does not find testables that return unit HOT 2
- Prop.filter (==>) executes property even if condition does not hold HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fscheck.