microsoft / codecoverage

MIT License
84 stars 11 forks source link

Calling `dotnet-coverage collect` with invalid or non-existing settings file does not show error #128

Closed StefH closed 3 months ago

StefH commented 3 months ago

Calling this:

dotnet-coverage collect -s "does-not-exists" -f cobertura -o "file.xml" "dotnet test ./test.csproj --no-build"

Does not show error when the settings file is invalid or non-existing.

fhnaseer commented 3 months ago

This has been implemented and console will write warning if config file is invalid or missing. It will be available in the next release 17.12.0.