Using coverlet without having to modify project files in solution #1697
Unanswered
amine-aboufirass
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, this is my workflow for generating test coverage reports for a third party project that uses central package management and a
Directory.Packages.Props
file:cd
to the test project for which I want to generate a reportcoverlet.collector
package to test project, and then remove the versionDirectory.Packages.Props
file in a text editor and add the following item group:The issue here is that I basically have to go in and edit the files for the third party project every time I want to generate a report. I do my work with the help of the coverage report but then I have to delete the edits I make to the various files (test project files and the global
Directory.Packages.Props
.This is quite clunky and an obstacle to generating quick coverage runs to just see what kind of test coverage I have for a specific class or subset of tests.
Is there a way to use coverlet without having to modify any project files?
Beta Was this translation helpful? Give feedback.
All reactions