-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Description
The fixtures for integration tests are not particularly nice. We created them a long time ago, and they need an update and improvement. Also, there are a few issues in the current setup.
- We're working with a single database. That's not an extendable solution.
- We're using the same
DbContextinstance within a test class. This can lead to unreliable tests, since the change tracker may already contain objects from other test runs. - For seeding, we're using
HasDatafeature ofEF Core. I'm not particularly a fan of it, since can lead to unreliable tests too. - The fixtures for
EF CoreandEF6are not consistent.
Metadata
Metadata
Assignees
Labels
No labels