An introduction how to setup and organize the test projects in .NET
- MSSQL TestContainer in order to isolating database from integration test with others.
- Memory Configuration Provider to override the settings for testing
- Define
PeopleServiceWebApplicationFactory
which is a custom ofWebApplicationFactory
- Define
PeopleServiceTestFixture
which is an implementation ofIAsyncLifetime
- Define
PeopleServiceTestBase
the base class of every test
- Define
CreatePersonTestFixture.cs
inherits fromPeopleServiceTestFixture
- Define
DoTestCreatePerson
inherits fromPeopleServiceTestBase