In this example you separate the business logic (NewTypes.csproj) from the test cases.
What is the reason for that separation?
The only thing that I could come up with is that it might be easier to identify all test projects in the pipeline when you want to run the tests. But running dotnet test
on the solution will automatically run all test projects in the solution, ignoring the business logic projects.
There are some downsides to this separation, especially if you use the Visual Studio IDE:
test
or src
) will add the project to the root folder, not the test
or src
folder. You need to manually move it on disk, including editing the .sln
file, or removing and re-adding the project from/to the solution.⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4