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

Notification

Icon
Error

NCrunch Metrics for single test.
Micah71381
#1 Posted : Friday, October 18, 2013 3:20:46 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/18/2013(UTC)
Posts: 27
Location: United States of America

Was thanked: 2 time(s) in 2 post(s)
I am currently working with a legacy code base that has a ton tightly coupled code. I would like a way to be able to quickly see what parts of my code are hit when a particular test is executed. I can use the advanced options when right clicking on a test dot to show code coverage for that test only which is a big step toward what I am looking for. However, it would be significantly better for me if the NCrunch Metrics window was also constrained when that option is chosen.

This would allow me to very rapidly determine how much my code was being hit when a particular test ran. My goal with this feature is to be able to write a test that uses a thing, see how much it touches, and then refactor and run the test again and see that the amount of code it touches has decreased. In short, my goal here is for a given tests total code coverage decreases as I refactor my code.
Remco
#2 Posted : Friday, October 18, 2013 6:02:19 AM(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 -

This is a great suggestion. It makes sense that the metrics view should also consider the code coverage filter. I've added a task for this to the backlog.


Cheers,

Remco
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download