The current version of SpecFlow.Xunit is not compatible with xUnit 2.0.
I cannot rollback to xUnit 1.9.0 as all other unit tests are written for xUnit 2.0. The current verions of SpecFlow.Xunit uses IUseFixture, which is obsolete in xUnit 2.0 .
So I would like to ask if anyone is using SpecFlow.Xunit with xUnit 2.0? How you do it ?
I followed the link CoderDennis suggested. https://github.com/techtalk/SpecFlow/issues/419
Basically, I installed xUnit 1.9.2 and then install SpecFlow.xUnit after. Now, the project can be built without error so far.
Thank you.
The SpecFlow.xUnit NuGet package now has a pre-release version available with support for xUnit 2.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With