Skip to content
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

Cant't use xunit.categories with xunit.assert.source #16

Closed
WalkerCodeRanger opened this issue Jul 8, 2020 · 2 comments · Fixed by #29
Closed

Cant't use xunit.categories with xunit.assert.source #16

WalkerCodeRanger opened this issue Jul 8, 2020 · 2 comments · Fixed by #29

Comments

@WalkerCodeRanger
Copy link

The recommended way of extending the xUnit asserts is to reference the xunit.assert.source NuGet package. When you do that, you can't use the xunit package anymore because it pulls in xunit.assert which conflicts. Instead, you have to reference xunit.core etc.

I'm assuming the xunit.categories package doesn't actually depend on all of the xunit package. You should be able to reference only xunit.core. That would allow people to use it at the same time as xunit.assert.source.

@brendanconnolly
Copy link
Owner

thanks for reporting this I'll take a look

@Chaosflo
Copy link

Any work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants