This is the service that contains features such as:
- Authentication service
- Organization Service
- Employee Service
From the root folder of the project in your terminal, change directory (cd) into tests/serviceName
.Test e.g cd tests/unit.test
Run the following in command
dotnet run test
Note: The following Nuget package should be installed on your system as a .NET global tool. Use the dotnet tool install
command to install the following Nuget package
dotnet tool install -g dotnet-reportgenerator-globaltool
This will be used for data collection from the test runs to generate report as a styled HTML
In the root folder of the project in your termial run the following command
./run-test.bat
In the root folder of the project in your termial run the following command
./run-test.sh
In the test project, go to the BuildReports/Coverage folder and open the index.html
in a browser
For more information, you can follow this link here