让 PartCover 包含带有“System”的程序集名义上
我正在尝试使用 PartCover (v.2.3.0.36319) 来测量 MSTest 中运行的单元测试中程序集的代码覆盖率。除了名为 SystemLogger 的程序集之外,我可以获得所有程序集的成功报告。我已经尝试过这些规则:
+[SystemLogger]*
+[*]*
+[System*]*
这些规则都不会强制 PartCover 包含该 dll。查看运行日志,我注意到似乎有一些内置的排除:
Exclude [mscorlib]*
Exclude [System*]*
我从未指定其中任何一个,但似乎有理由说它阻止了我的 dll 被包含。有没有办法强制 PartCover 包含我的程序集而不重命名它?
I am trying to use the PartCover (v.2.3.0.36319) to measure code coverage on assemblies from unit tests run in MSTest. I can get successful reports on all assemblies except one named SystemLogger. Ive tried these rules:
+[SystemLogger]*
+[*]*
+[System*]*
None of these will force PartCover to include that dll. Looking at the run log, I noticed there seems to be a couple of built in excludes:
Exclude [mscorlib]*
Exclude [System*]*
I never specified either one of these, but it seems reasonable to say its preventing my dll from being included. Is there some way to force PartCover to include my assembly without renaming it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 PartCover 的一个错误 - 您应该向 PartCover 团队提出该问题。
哦,看看你有:)
https://github.com/sawilde/partcover.net4/issues /47
This is a bug with PartCover - you should raise the issue with the PartCover team.
Oh look you have :)
https://github.com/sawilde/partcover.net4/issues/47