Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Code coverage 斗牛士_Code Coverage_Bullseye - Fatal编程技术网

Code coverage 斗牛士

Code coverage 斗牛士,code-coverage,bullseye,Code Coverage,Bullseye,我对斗牛士的报道有异议 我需要从命令行运行bullseye覆盖,以便继续集成 我使用命令: covselect.exe --file test.cov --add .\ cov01.exe --on MSBuild /maxcpucount:8 /t:Rebuild /p:Configuration=Release /p:Platform="x64" MVPF.sln MSBuild /maxcpucount:8 /t:Rebuild /p:Configuration=Releas

我对斗牛士的报道有异议

我需要从命令行运行bullseye覆盖,以便继续集成

我使用命令:

covselect.exe --file test.cov --add .\ 

cov01.exe --on 

MSBuild /maxcpucount:8 /t:Rebuild /p:Configuration=Release /p:Platform="x64" MVPF.sln 


MSBuild /maxcpucount:8 /t:Rebuild /p:Configuration=Release /p:Platform="x64" MVPFTest.sln 

cov01.exe --off

covxml -f test.cov -o bullseyecoverage-result.xml
但我在工作目录中有空的test.cov和report.xml文件


你能解释一下我应该一步一步地做些什么来衡量覆盖率吗?

是的,我知道这是一个非常古老的问题,但它在搜索引擎中很重要。您需要运行一个程序,以便创建覆盖率文件。一般步骤如下: 1使用覆盖标志或像您一样启用的方式构建 2运行一些使用你已经构建的东西。程序本身或某些测试 3收集结果