-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Guideline for Microsoft.EntityFrameworkCore.Relational.Specification.Tests #3664
Comments
Maybe look at how other providers use the package? |
@guscuate great that you're looking at the specification tests! They're a very useful way of making sure your provider works well. There's no documentation for using them, but it should be quite straightforward:
I'd recommend giving the above a try - we'll be here to help with any concrete issues you come across! PS #681 tracks adding documentation around this and other aspects of writing an EF Core provider. |
Thank you very much for your responses this is very useful!. |
Note from triage: put screenshot of this in docs. 😜 |
Hi Roji, I saw you updated the documentation and you mentioned to create an Xunit project, is this strictly required or this can also work using a different test framework like Nunit? |
@guscuate the specification test suite itself is written using xunit, so you'll have to use xunit as well. Note that this doesn't preclude you from also having an additional test project using nunit or anything else. However, for an EF provider, the specification test suite should generally be the most important testing resource - so it's worth using it even if it isn't your preferred unit testing framework. FWIW I prefer nunit to xunit (and use nunit in Npgsql), but I use xunit in the Npgsql EF provider for the specification test suite. |
Hello Team,
We would like to run your test suite into our data provider (MySQL Connector/Net), is there any documentation or guide about what is the right way to use Microsoft.EntityFrameworkCore.Relational.Specification.Tests package?
Regards.
The text was updated successfully, but these errors were encountered: