【发布时间】:2016-11-14 11:22:30
【问题描述】:
我是使用 Opencover 的新手,我想知道是否可以在 CMake 测试中使用它,因为我的项目已经在使用它。
mkdir build
cd build
cmake ..
cmake --build . --config Debug
..\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files (x86)\CMake\bin\cmake.exe" -targetargs:"--build . --target RUN_TESTS --config Debug"
以及相应的错误:
Committing...
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
我尝试将开关 targetdir 和/或 searchdirs 添加到 bin\Debug 并注册但结果相同。
你有解决这个问题的想法吗?
感谢您的帮助!
【问题讨论】: