Can i use code coverage tool to test manual test cases ?  
Author Message
Murali Medisetti





PostPosted: Visual Studio Team System - Testing, Can i use code coverage tool to test manual test cases ? Top

Can i use code coverage tool to test manual test cases and Can I execute my manual test cases and know the code coverage %

Thanks in advance



Visual Studio Team System10  
 
 
Boris Vidolov MSFT





PostPosted: Visual Studio Team System - Testing, Can i use code coverage tool to test manual test cases ? Top

Hello Murali,

With Visual Studio Team System you could definitely do it. First, you need to select the code under test binaries in the test run configuration editor/Code Coverage pane. Then start your manual tests and our test execution engine will automatically instrument and collect coverage data for it. There are only two things to keep in mind:

1. You will need the symbols (PDB files) for the code under test binaries in order to select those binaries for code coverage instrumentation.

2. In order to have complete code coverage data, all applications which have loaded instrumented binaries has to be closed before completing the test run. E.g. if you have instrumented notepad.exe, you need to close notepad before the test run completes.

Regards,

Boris



 
 
RamMSDN





PostPosted: Visual Studio Team System - Testing, Can i use code coverage tool to test manual test cases ? Top

Thanks,

If my application consists of say 10 assemblies in which 5 are common assemblies and 2 are referring assemblies to .NET 1.1 assemblies ant the rest 3 assemblies are my application assemblies.

In this scenario will my code coverage tool works and gets the code coverage details

Thank