Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for coverage info in C# files using the dotnet command line.
It's not working out of the box because of the way
dotnet test
writes the coverage results. I for myself added a test execution script to my PATH which must be run from the project root, and writes the result in a way that the coverage could be collected with the nvim-coverage extension.Therefore I would recommend adding a wiki page with language specific hints which would contain something like this:
The
dotnet test
tool per default writes one coverage result per test project. In addition to that the output is not deterministic and contains a subfolder with GUID per test run which are not deleted when another test run is started.To tackle this a script like the following is recommended to collect all coverage results in a solution and merge it to a single results file, which then can be picked up by the coverage extension.
The ReportGenerator dotnet tool is used for merging reports
The script is written in
powershell core
which should work cross platform or can be easily translated to a bash script: