开发者

PartCover and multiple TargetArgs

I need to load coverage report from multiples test source, but if I set multiple dlls (two of them test the same class) in TargetArgs, the coverage data is overwritten with the results of the last dll.

How can I add the results from multiples dll testing the same class?

Here is an example of my partcover config file

<PartCoverSettings>
  <Target>c:\NUnit\nunit-console.exe</Target> 
  <TargetWorkDir>c:\MyProject\Testing</TargetWorkDir> 开发者_开发问答
  <TargetArgs>ApplicationServices.Test.dll Integration.Test.dll</TargetArgs> 
  <Rule>+[MyProject.*]*</Rule> 
  <Rule>-[*.Test]*</Rule> 
</PartCoverSettings>

Thanks In Advance


That should actually work. I do the same - run multiple test assemblies and get coverage output. I do it from the command line rather than config file though.

Have you double checked that your rules are correct?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜