Currently I have a project where I test my project on and with my local WSL Linux install the coverage does not say 100% but on Windows it does, for this reason I want to use code to read the coverage report into a Windows Forms application and do the following:
- Background Color the lines FULLY covered in Green
- Background Color the lines PARTIALLY covered in Yellow
- Background Color the lines NOT covered at all in Gray
Currently I could hard code it to read the xml report, except the coverage reports could be outputted in json or some other format so having an official coverlet classlib that can help implement coverage report reading would be a must for me.
Why do I want this? Visual Studio's Analyze Code Coverage for All Tests options in the menu does not have the option to "use WSL to obtain the coverage results". Just to see what lines are not covered specifically on Linux which are covered on Windows. Having this information is a must for me to have and the best way is for me to make a tool that reads the coverage reports and shows them which exact file and lines are causing the difference in coverage on a specific OS that is used to run the tests (which might be useful in finding and quickly fixing possible bugs on those systems).
Currently I have a project where I test my project on and with my local WSL Linux install the coverage does not say 100% but on Windows it does, for this reason I want to use code to read the coverage report into a Windows Forms application and do the following:
Currently I could hard code it to read the xml report, except the coverage reports could be outputted in json or some other format so having an official coverlet classlib that can help implement coverage report reading would be a must for me.
Why do I want this? Visual Studio's
Analyze Code Coverage for All Testsoptions in the menu does not have the option to "use WSL to obtain the coverage results". Just to see what lines are not covered specifically on Linux which are covered on Windows. Having this information is a must for me to have and the best way is for me to make a tool that reads the coverage reports and shows them which exact file and lines are causing the difference in coverage on a specific OS that is used to run the tests (which might be useful in finding and quickly fixing possible bugs on those systems).