In this video I started creating data access layer with TDD, Unit Test vs Integration Test, and two different In Memory Testing options with Entity Framework Core, xUnit and SQLite.
Two ways to do in memory testing with EF Core
Sqlite in-memory mode vs. The InMemory provider
https://docs.microsoft.com/en-us/ef/c...
xUnit Shared Context between Tests
Constructor and Dispose vs. Class Fixtures vs. Collection Fixtures
https://xunit.github.io/docs/shared-c...
NuGet Packages
Microsoft.Data.Sqlite
Microsoft.EntityFrameworkCore.Sqlite
Microsoft.EntityFrameworkcore.InMemory
Github Repo
https://github.com/FanrayMedia/Fanray