Prakash Raval

Hi there,

I need to know what are the different code coverage tools are available in the market for .NET applications/assemblies (.EXE & .DLL). Different types of coverage supported by them.

Need to know more about MS VSTS.

Thanks,

Prakash from Pune




Re: Visual Studio Team System - Testing Code Coverage for .NET

Justin Pinnix (MSFT)

Here is more information about the code coverage tools built into VSTS: http://msdn2.microsoft.com/en-us/library/ms182496(VS.80).aspx





Re: Visual Studio Team System - Testing Code Coverage for .NET

Jerry Noll

Visual Studio Team System - Test Edition has excellent code coverage feature.

Here are a few resources that you may find interesting.

As I find a few more articels, I will post. In the meantime, please let me know what other info you need.






Re: Visual Studio Team System - Testing Code Coverage for .NET

Prakash Raval

Thanks Justin and Jerry !

Is there any tool that supports decision or branch coverage for .Net assemblies ( DLLs & EXEs).

I am developing a Package dll in C# for Visual Studio 2005. I want to check how much code is covered by my test cases for this package application. I give more importance to decision coverage as it is a more reliable and detailed coverage compare to line coverage and function coverage. I have studied plenty of tools for .Net code coverage

--------

MS VSTS, NCover, Clover.Net, PartCover, IBM Rational Test RealTime, IBM Rational PureCoverage, Compuware DevPartner Studio, TestMatrix, C# Test Coverage Tool, NCover(SourceForge), TeamCity 2.1, Prof-It for C#, ANTS Profiler

--------

These tools do not support decision coverage. Can anybody help which tool supports decision coverage for VS 2005

Thanks






Re: Visual Studio Team System - Testing Code Coverage for .NET

Oregu

I'm not sure... What do you mean by "decision coverage"




Re: Visual Studio Team System - Testing Code Coverage for .NET

Prakash Raval

We can call it Decision coverage Or Branch coverage Or Condotion coverage.

It decides whether each evaluation point (such as a true/false decision) been executed

We can describe it as under :

================================================

Condition coverage reports the true or false outcome of each boolean sub-expression, separated by logical-and and logical-or if they occur. Condition coverage measures the sub-expressions independently of each other.

It says whether boolean expressions tested in control structures (such as the if-statement and while-statement) evaluated to both true and false. The entire boolean expression is considered one true-or-false predicate regardless of whether it contains logical-and or logical-or operators. Additionally, this includes coverage of switch-statement cases, exception handlers, and interrupt handlers.

================================================






Re: Visual Studio Team System - Testing Code Coverage for .NET

xpmedia

I've also been looking for these capabilities (branch and/or independent path coverage); but don't think VS 2008 has them.

The code coverage support in VS2008 is limited to statement coverage, which is not at all adequate for code components that require rigorous testing.

Bit of a disappointment.