Integration-testing patterns for ASP.NET Core minimal APIs: one xUnit test body run against real PostgreSQL (Testcontainers) and SQLite, with WebApplicationFactory, fluent JWT/cookie test auth, and first-class antiforgery/CSRF coverage.
-
Updated
Aug 20, 2026 - C#