Why dotnet test tool is not creating code coverage report? Why dotnet test tool is not creating code coverage report? powershell powershell

Why dotnet test tool is not creating code coverage report?


Basically I forgot to add the coverlet msbuild NuGet package into my test project. After that, all worked fine with the following command:

dotnet test $folder.FullName -c Release --no-build /p:CollectCoverage=true /p:CoverletOutput=$root\coverage /p:CoverletOutputFormat=opencover