create log for desktop application

  • Thread starter Thread starter junisha
  • Start date Start date
J

junisha

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
 
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!

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
 
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

Tools like NCover can do this

Hope this helps(tm)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top