-
-
Notifications
You must be signed in to change notification settings - Fork 341
chore: Add xUnit.net v3 tests #1430
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
chore: Add xUnit.net v3 tests #1430
Conversation
✅ Deploy Preview for testcontainers-dotnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
38171ea to
3defd02
Compare
|
I'd rather reuse the whole Actually, I already did exactly this here 0xced@609a08c but haven't opened a pull request yet in order not to overwhelm @HofmeisterAn with yet another pull request from me. 😆 |
|
@0xced why did you need the Lastly I also wondered, if it makes sense to switch the main-testing-framework for Xunit.net V3, but again, that probably should be a separate PR |
It's there in all projects, but I'm not sure why. 🤷🏻♂️
I don't understand why. Currently, the
Do you mean enhancing the documentation with the Xunit.net V3-stuff only? Because enhancing the V3 stuff should also automatically enhance the xUnit.net v2 documentation, shouldn't it?
Yes, this should definitely be discussed separately. |
3defd02 to
44769c3
Compare
Ok, seems I missed that then. It seems we want to be very sure to use all the defaults
But the XUnit-framework did change - and I wonder how long both packages are just referencing things by the same name in different namespaces. Take for example
As stated above, there are some slight differences, and while the documentation does not include the Or take your workaround for the missing |
Signed-off-by: Andre Hofmeister <[email protected]>
HofmeisterAn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, LGTM! What do you think @0xced?
As stated above, there are some slight differences, and while the documentation does not include the
usings, it's probably nicer to not have#if-lines included in the examples.
Yeah, this is a general issue we're dealing with right now. A lot of our tests aren't ideal to use them directly in the docs. Usually, the test setups are kind of weird and don't fit well in the docs. We should probably split it and use a dedicated project for the docs or something like that.
What does this PR do?
Add a new test-project "Testcontainers.XunitV3.Tests" to verify the "Testcontainers.XunitV3"-package. The test-project depends on the current xunit V3, to also proof, that it can be used alongside it.
Why is it important?
Currently there is no test for the "Testcontainers.XunitV3"-package, which means, that runtime issues can not be detected. This should also ease verifying further development around "Testcontainers.XunitV3" and showcase the usage of the package.