Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to choose what projects and solutions not to test
kontinuerligkodanalys
#1 Posted : Wednesday, November 4, 2015 1:20:03 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/4/2015(UTC)
Posts: 2
Location: Sweden

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hello,
I'm in a project where we want to collect code coverage for different systems. A problem we have is that coverage from test code are added to the total code coverage, this is bad because the test code have like 99 % code coverage. In a Project with 28 000 lines of test code with a total of 62 000 lines this will give a coverage result that is worthless. We have not found any way to exclude Projects from the analyze, is it possible?

Our situation is that we have many different systems (40+ or so) with different setups. A system can have one or many solutions, and each solution can contain one or more projects and test projects.

Today we build the code in TFS both 2015 and some older version. On the build servers we got NCrunch console tool to export the test results to a folder where we parse them and add the result to our database.

Thankful for any suggestions!
Remco
#2 Posted : Wednesday, November 4, 2015 9:58:33 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting!

I'm sorry in that I'm having a hard time understanding exactly what you're asking. Are you saying that you want to try and use NCrunch across multiple solutions at the same time? Or that you want to consolidate coverage reports together for multiple solutions?

In the NCrunch Metrics Window, there is a toolbar option that will allow you to exclude specific projects from the metrics aggregation. Is this what you're after? The NCrunch console tool will consider this setting when it writes its coverage report.
1 user thanked Remco for this useful post.
kontinuerligkodanalys on 11/5/2015(UTC)
kontinuerligkodanalys
#3 Posted : Thursday, November 5, 2015 8:02:49 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/4/2015(UTC)
Posts: 2
Location: Sweden

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
The second row will probably solve the problem, will try it. Thank you very much. :)
1 user thanked kontinuerligkodanalys for this useful post.
Remco on 11/5/2015(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download