Fanray Ep06 - TDD, Unit Test vs Integration Test, In Memory Testing with EF Core, xUnit and SQLite

Опубликовано: 17 Март 2026
на канале: Ray Fan
413
2

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