XtCover :- A Code Coverage Tool on top of VS Code Coverage

Posted: February 9, 2010 in Architecture Series

Code coverage Instrumentation using XtCover :-
Code coverage is a feature available in Visual Studio Team Edition for developers, testers and in Team suite also. Visual Studio uses block based statement (also known as C1 coverage) and condition coverage methodology. A block is commonly defined as a sequence of instructions that have a single entry point and a single exit point. We can consider an exit point to be a branch instruction, a function call, a return instruction or a throw instruction.
To get the coverage of source code, the test assemblies need to be instrumented by having MSTest.exe in place with MSBuild commands or through VSTS instrumentation options. Once the instrumentation is done the coverage file will be available for getting reports out of it.
VSTS is capable of opening the coverage file but if you want to open in some other reporting tool, you should convert the coverage file to the intended format of that reporting tool.
Ref: http://msdn.microsoft.com/en-us/library/ms182534(VS.80).aspx
XTCover – An Intro
It stands for eXTreme COVERage, a web based .NET code coverage reporting tool. It provides the coverage summary in an enhanced way by using web technologies such as ASP.NET 3.5, Silverlight 3 to reveal very decent look and feel and user friendly navigation options. The main intention of this tool is that developers can be focused on the code areas where they should give more attention to increase the coverage of the source code.
The tool can be integrated with continuous integration process or leverage as a stand-alone coverage reporting tool. Besides that the tool is capable of automating MSTest coverage instrumentation process.The Primary goal is to present the Coverage results in a efficient and elegant way which VS Coverage does not provide.

Features of the tool
1. Capable of MSTest instrumentation and creation of coverage source based on required parameters (VSTS license is required)
2. Developers can choose their specific coverage source for reporting
3. Easy navigation to show coverage statistics, aggregates and graphs for module, namespace, class, method and line level
4. Tag cloud reports from module or package to class level
5. Source code display for respective classes and methods and highlighting covered / non-covered / partially covered lines of code
6. User will be focused to specific line level by selecting method names
7. Tool can be integrated with Continuous Integration process or can be used as a stand-alone product

We are working on the Next version of XtCover using the VS 2010 Profiling and instrumentation API and may be the next version will be entirely on SilverLight.

Visit the Codeplex Site for more details http://xtcover.codeplex.com/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s