开发者

Have PartCover include an assembly with "System" in name

开发者 https://www.devze.com 2023-03-04 09:25 出处:网络
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

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 t开发者_开发知识库o say its preventing my dll from being included. Is there some way to force PartCover to include my assembly without renaming it?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消