Wednesday, February 15, 2006

NCoverExplorer... v1.3.1

A ton of new features in the latest release, and a few bugs fixed ranging from minor annoyance (code highlighting) to downright critical for some (supporting .Net 2.0 features like partial classes and generics - thanks to Jamie Cansdale & Andreas Hofer in particular for pointing out the issues!).

As per usual you can download this version with the just released build (2.0.1435) of TestDriven.Net or as a standalone product via the links at the bottom of this post.
[Update] A post-release bug fix implemented on Feb 16th, updated on this site and available with TestDriven.Net build 2.0.1438.

What's New? Loads... more than I'm going to mention here (see the release notes for the full list). Let's look at the options dialog:


Apart from the new tabbed appearance there are some other new options to note here:
  • Namespaces will now be "flattened" by default which is the same appearance as Reflector or the VS.Net 2005 class viewer (see screenshot below).
  • For the VB.Net crowd out there you can now exclude the "My" namespace by default which NCover includes in the results, distorting your coverage percentages.
  • An optional threshold for the number of unvisited lines in a method. Acts in a similar way to the existing % threshold feature but just another way of convincing yourself things aren't as bad as they may first seem...
Probably the most requested feature I have had is the ability to customise the colours - so here you go! There is more to come in the future on this but for now you can change:


Moving onto the display itself, you can see some new menu options in the tree view and the default view of a "Flat" namespace hierarchy below:


The two new right-click menu options are:
  • Remove from results - does what it says on the tin. This option is context aware so you can use it to "prune" your coverage tree - be it to remove a unit test assembly as shown above or exclude a class. After the remove action is selected NCoverExplorer recalculates the percentages in the tree.
  • Collapse All - collapses every single coverage node in the tree.
Next is the statistics pane. This has had quite a revamp (my thanks to Andrzej Kaczmarczyk for his suggestions). Clicking on a class node now produces a summary of all the methods and the number of times they were executed (shown below). The columns are now sortable as well. This offers a rudimentary form of code profiling analysis.



The final new feature I think worth highlighting is that by default NCoverExplorer now tries to restore your cursor position / current selected node when reloading a coverage file. So when used in conjunction with the superb TestDriven.Net "Test With... Coverage" feature you no longer need to keep re-expanding the nodes to get to where you last were...

I look forward to your feedback with any additional suggestions, comments... or even dare I suggest new bugs! This release has made quite a dent in the features todo list but there's still a number of things on it yet...

Also very much worth noting - the latest NCover beta release 1.5.3 is now available - highly recommended for the bug fixes alone. Thanks Peter!

Download the latest NCoverExplorer versions from here.

Release Notes
FAQ

3 Comments:

At February 16, 2006 11:10 pm, Anonymous Anonymous said...

A more direct 'feedback' link is here.

 
At March 08, 2006 3:47 pm, Anonymous Anonymous said...

This offers a rudimentary form of code profiling analysis.
Does that mean there are plans to add code profiling to testdriven.net or NCoverExplorer? (similar to TestRunner?)

 
At March 08, 2006 6:39 pm, Blogger kiwidude said...

Saying there are "plans" might be a bit of a strong word ;-)

Certainly Peter has some performance profiling on his wishlist for NCover. What the timeframes are for that I have no idea I'm afraid. You could try asking on his forums.

From an NCoverExplorer perspective I will quite happily consider consuming whatever "enriched" data is able to be thrown my way so if it does happen then I'm certainly interested as well...

 

<< Home