Closed ImaginaryDevelopment closed 1 year ago
Ahh yeah, it should try to generate the coverage report regardless of if it failed. We would probably have to merge the targets for DotnetTest
and GenerateCoverageReport
and detect whether the file that AltCover outputs is there and try running the code previously in GenerateCoverageReport
.
Is your feature request related to a problem? Please describe. When I add new code to the project and then try to build
so the default path is to only generate coverage information if the test target succeeds, but the test target fails if the coverage delta is too low, so then I don't get a coverage report to show what things need coverage
Describe the solution you'd like I'd like the coverage to be generated anyhow.
Describe alternatives you've considered I can run
.\build.cmd generatecoveragereport -s
but I'd think the default path should be to somehow determine when the testing target fails only because of coverage amount so that the coverage report can be generated and used to determine what things need testing.Additional context repo if it is somehow useful at https://github.com/ImaginaryDevelopment/ToMEHelper