1.Open-Cover
用于测试代码是否被测试过。
1.下载open-cover与ReportGenerator
2.下载压缩包后,设置系统环境变量,如:
D:\OpenCover
D:\OpenCover\ReportGenerator
2.执行
OpenCover.console -register -target:nunit3-console.exe -targetargs:"./test.nunit" -filter:+[projectName]* -output:coverage.xmlreportgenerator -reports:coverage.xml -targetdir:"D:\"
相关:https://blog.csdn.net/weixin_42488570/article/details/80747884