I need to set up Coveralls. Before this I am trying to set up /p:CoverletOutputFormat=lcov
with vstest.console
.
So I am successfully using dotnet test --results-directory "./testresults" -l trx -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=lcov
to set CoverletOutputFormat
with dotnet test
command. This case is working.
But currently I need to use it for dotnet vstest
My full command is:
vstest.console MyFolder\MyDll.dll /ResultsDirectory:"./testresults" /Logger:trx /EnableCodeCoverage /p:CoverletOutputFormat=lcov
The output is: The argument /p:CoverletOutputFormat=lcov is invalid