点覆盖和 StatLight
我试图最终在 TeamCity 的 silverlight 应用程序上运行 dotcover 覆盖率报告。
但是,我在使用 Console Runner 来实现此功能时遇到困难。有没有人设法让 DotCover 通过 StatLight 获得 Silverlight 应用程序的覆盖范围?
这是我的 dotCover xml 配置文件:
<?xml version="1.0" encoding="utf-8"?>
<AnalyseParams>
<Executable>BuildTools\SilverlightTestRunner\StatLight.exe</Executable>
<Arguments>-x="Project.UI.Test.xap"</Arguments>
<WorkingDir>src\Test\Project.UI.Test\Bin\Debug</WorkingDir>
<Output>output.xml</Output>
</AnalyseParams>
I'm trying to ultimately run a dotcover coverage report on my silverlight app from TeamCity.
However, I'm having trouble getting this working using the Console Runner. Has anyone managed to get DotCover to get coverage via StatLight for Silverlight apps?
This is my dotCover xml config file:
<?xml version="1.0" encoding="utf-8"?>
<AnalyseParams>
<Executable>BuildTools\SilverlightTestRunner\StatLight.exe</Executable>
<Arguments>-x="Project.UI.Test.xap"</Arguments>
<WorkingDir>src\Test\Project.UI.Test\Bin\Debug</WorkingDir>
<Output>output.xml</Output>
</AnalyseParams>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是 statlight 杀死了内部浏览器。如果进程被终止,dotCover 无法获取覆盖率信息。
请投票给 http://youtrack.jetbrains.com/issue/DCVR-2290
The issue is that statlight kills internal browser. dotCover is unable to fetch coverage information if process is killed.
Please vote for http://youtrack.jetbrains.com/issue/DCVR-2290