开发者

nCover With many class libraries

开发者 https://www.devze.com 2023-01-10 04:20 出处:网络
So I have my project and it is set up like this: MyProject MyPr开发者_开发问答oject.Module1 MyProject.Module1.Tests

So I have my project and it is set up like this:

MyProject MyPr开发者_开发问答oject.Module1 MyProject.Module1.Tests MyProject.Module2 MyProject.Module2.Tests

What I want is the code coverage number for the entire project.

I am using nCover... what is the best way to do this? For example would I have to rearrange the project and have everything put into MyProject.Tests?


It depends on how you're testing. Most test frameworks will let you run tests for multiple assemblies as separate arguments. If you can't run them all together, you can always use NCover's merge feature. Check out http://docs.ncover.com/ref/2-0/ncoverexplorer-console/merging-coverage-data/.

0

精彩评论

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