CleanArchitecture Template Tests
-
Create new project from the CleanArchitecture template:
dotnet new ssw-ca -o CleanTesting
cd CleanTesting -
Open in an IDE and explore the test
-
Check out the use of TestContainers - its better to use a container over an in-memory database for testing as it more closely resembles production.
/WebApi.IntegrationTests/Common/TestingDatabaseFixture.cs