Managing tests – directories
This section is not part of the clean architecture principle, but the best practice is to use separation of concerns. Hence, organizing the test projects based on the tests they do, such as unit tests, functional tests, integration tests, and load testing, is the best practice.
I will lay out the test projects in the following subsections, but we will not create them in this chapter yet. The following are the test projects.
Unit test – project
A Unit test project tests small and specific parts of your code. This project can be created using an XUnit, NUnit, or MSTest project.
Integration test – project
An Integration test project tests whether the components are working together. This project can be created using an XUnit, NUnit, or MSTest project.
Now that we've finished the part where developers write their tests in ASP.NET Core, it is time to create the layers and projects for an ASP.NET Core 5 solution.
...