You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current testing infra test rev eng in following way.
Create DB
Rev eng DB and generate files
Compare generated files to expected files.
For every new type of code we generate, we need to add db creation and expected files.
Code generation is done by EFCore.Design not the provider.
We don't verify individual components making it harder to have good test coverage. Like we are missing KeyAttribute.
It may need some design on what we want to test, what we want to provide to provider-writers to test etc.
The text was updated successfully, but these errors were encountered:
Good catch, but I would like to have at least one test where we do generate it because it is different from the default. Can we arrange that somehow (e.g. rename a PK or two in the E2E.sql file)?
Our current testing infra test rev eng in following way.
For every new type of code we generate, we need to add db creation and expected files.
Code generation is done by EFCore.Design not the provider.
We don't verify individual components making it harder to have good test coverage. Like we are missing KeyAttribute.
It may need some design on what we want to test, what we want to provide to provider-writers to test etc.
The text was updated successfully, but these errors were encountered: