문제

I use dotCover for code coverage, and it's good, but the results appear to be written in a proprietary format, which I cannot parse.

I want to create a script that analyses my .Net code base and returns the (say) 20 classes with the lowest code coverage in a format that I can read (xml, plain text, json, ...). Does anyone know how to do this, either in dotCover or other tools

도움이 되었습니까?

해결책

You could use OpenCover and ReportGenerator. OpenCover generates a XML coverage report. ReportGenerator transforms this report into HTML, XML (readable) and Latex. See this blogpost for more details: http://www.palmmedia.de/Blog/2011/6/21/code-coverage-testing-with-opencover-and-partcover

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top