A .net desktop application written in C# needs 2 b tested. I want 2
create an application level log. I should be able 2 get log of code
which is executed in the application and a separate log indicating
code that is not executed
For example if my appliction consists of 3 blocks of code viz. A,B, C.
If d code in d B part is not executed, I shud get an indication of
this in d log
Plz help asp!
Thanx,
Clyde
Alberto Poblacion - 23 May 2008 20:26 GMT
>A .net desktop application written in C# needs 2 b tested. I want 2
> create an application level log. I should be able 2 get log of code
[quoted text clipped - 4 lines]
> this in d log
> Plz help asp!
This is called "code coverage analysis". Here's a link that explains how
to do it with Visual Studio Team System:
http://msdn.microsoft.com/en-us/library/ms182496(VS.80).aspx
Michael Justin - 25 May 2008 10:17 GMT
> A .net desktop application written in C# needs 2 b tested. I want 2
> create an application level log. I should be able 2 get log of code
[quoted text clipped - 6 lines]
> Thanx,
> Clyde
Tools like NCover can do this
Hope this helps(tm)

Signature
Michael Justin
SCJP, SCJA
betasoft - Software for Delphi™ and for the Java™ platform
http://www.mikejustin.com - http://www.betabeans.de