Skip to content

LucasRufo/integration-tests

Repository files navigation

Integration Tests with .NET 6

This is a simple minimal API using SQLite as the database and exposing a CRUD interface.

The project has Integration Tests using the WebApplicationFactory<T> class and Fixtures from XUnit.

To run the tests, you can use the following command:

dotnet test

References

https://dotnetthoughts.net/dotnet-minimal-api-integration-testing/

https://docs.microsoft.com/pt-br/aspnet/core/test/integration-tests?view=aspnetcore-6.0

https://github.com/martincostello/dotnet-minimal-api-integration-testing

https://www.hanselman.com/blog/minimal-apis-in-net-6-but-where-are-the-unit-tests

About

Integration tests in a Minimal API with .NET 6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published