Skip to content

An introduction how to setup and organize the test projects in .NET

Notifications You must be signed in to change notification settings

kimcuhoang/setup-dotnet-test-projects

Repository files navigation

setup-dotnet-test-projects

An introduction how to setup and organize the test projects in .NET

Features

First

  1. Define PeopleServiceWebApplicationFactory which is a custom of WebApplicationFactory
  2. Define PeopleServiceTestFixture which is an implementation of IAsyncLifetime
  3. Define PeopleServiceTestBase the base class of every test

Then implement tests

  1. Define CreatePersonTestFixture.cs inherits from PeopleServiceTestFixture
  2. Define DoTestCreatePerson inherits from PeopleServiceTestBase

Resources

About

An introduction how to setup and organize the test projects in .NET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages