NCoverExplorer... v1.3.2

Syndicated from Kiwidude's Geek Spot

Plenty of "must have" features that have been on people's wish lists in this release and a couple of irritating bugs fixed so I can't recommend highly enough that people upgrade. Download details at the bottom of the post.

Merging coverage files is the first of the "killer" features, offering improved integration with TestDriven.Net. Some of you may have noticed the inability to produce coverage results across a VS.Net solution or with multiple fixtures selected in the solution explorer window. The latest release of TestDriven.Net now supplies multiple coverage file names to NCoverExplorer which will merge and present the consolidated results. You can also manually merge multiple coverage files within NCoverExplorer via a number of ways, such as a "File->Merge" menu option or drag/drop.

Saving of the consolidated coverage results is now possible using the new "File->Save/Save As" options. Note that saving will remove any excluded nodes (see below) and merges together any duplicated visit count sections from the new coverage.xml file. This means you will likely find the resulting file much smaller than the originals.

Coverage exclusions are my personal favourite new feature. This offers a way for NCoverExplorer to automatically remove from the coverage tree items not relevant to your analysis when a coverage file is loaded - such as unit test fixtures, third party libraries etc. In the screenshot shown you can see the default exclusions I have included with NCoverExplorer - for instance any assemblies ending in ".Tests" will be excluded. You can add exclusions at the class, assembly and namespace level. I have also added support for the NCover 1.5.x feature of "exclusion attributes" if they exist in the coverage.xml file (although NCover still has some kinks to be worked out in a future release before you can rely on this feature).

All excluded items are then added to a special Excluded bin for the parent node as shown in the screenshot below. The source code for excluded methods will be highlighted in grey. You can also manually exclude items on the fly via a right-click "Exclude from Results" menu which replaces the previous "Remove from Results" option.

Source code tabs started out as a solution to a problem a few users reported with highlighting, particularly to do with partial classes. I believe I have resolved this once and for all now with the introduction of this feature. If you click on a partial class in the coverage tree, a tab is opened for every source code file making up that class with all the code highlighted as shown here.

The tabs also offer a way of quickly navigating around the coverage tree as selecting a tab will select the corresponding class node.

 

Themes came about as an answer to another much requested feature of more customisation of the GUI to include fonts and background colours. A "theme" is a group of settings covering most aspects of the appearance of the coverage tree, statistics pane and source code highlighting.

You can of course add your own themes as shown in the screenshots on this blog entry. Themes are easily toggled between using the new View->Themes menu.

 

Sorting and Coverage options came from a couple of user feature requests as shown here.

These allow NCoverExplorer to display function coverage or focus on methods with the most unvisited code.

My thanks to Trevor Hall for his time taken to suggest and test not only these features but also a number of others slated for a future release (after I take a break!).

 

Thanks also to Jamie and others who have been kind enough to test the beta versions and provide invaluable feedback.

There are numerous other minor usability tweaks and enhancements I haven't mentioned here that you can read about in the release notes or discover for yourselves. I look forward to any feedback!

Download TestDriven.Net 2.0.1545 Combined Install

Download NCoverExplorer 1.3.2 binaries
Mirror Site

Release Notes
FAQ

Published Wednesday, March 15, 2006 12:35 PM by Jamie Cansdale

Comments

# re: NCoverExplorer... v1.3.2

This release seems to crash if NUnit 2.6 is not installed, whereas the previous version seemed to work fine with NUnit 2.7. Did something change?

Thursday, March 16, 2006 6:50 PM by Adam Weinstein

# re: NCoverExplorer... v1.3.2

Hi Adam,

I haven't been able to repro this. Could you give me any more details?

Thanks, Jamie.

Thursday, March 16, 2006 6:58 PM by Jamie Cansdale

# re: NCoverExplorer... v1.3.2

jR0m1U Major thanks for the article post. Really Great.

Tuesday, May 15, 2012 11:26 AM by seo

# re: NCoverExplorer... v1.3.2

zVltnN Thanks for the post.Much thanks again. Much obliged.

Wednesday, September 19, 2012 5:53 PM by cheap seo services

# re: NCoverExplorer... v1.3.2

XlatYF Appreciate you sharing, great article post.Much thanks again. Want more.

Thursday, October 18, 2012 11:41 PM by crork

# re: NCoverExplorer... v1.3.2

It's appropriate time to make a few plans for the longer term and it's

time to be happy. I've read this put up and if I could I want to counsel you some fascinating things or advice. Perhaps you can write subsequent articles relating to this article. I desire to read even more issues about it!

Monday, April 15, 2013 11:33 PM by Reedy