T
tjm
Pure coverage from Rational is the only coverage tool I've been able
to find for C#, and I don't really want to pay what Rational charges
for something as simple as a coverage tool. So, I'd like to try to
write my own, but I'm having trouble getting started. The way I see
it, I need to do the following…
1) Create a debugger object or something similar that will allow me
to step through my code.
2) Start a process to run through my unit tests, and use the debugger
to determine which lines of code execute.
I've looked into the Debug and Debugger classes in the MSDN
documentation, but neither of them seem to offer the functionality I
need. Can anyone tell me how to step through code like the debugger
does so I can determine which lines of code are executed? Any help to
get moving in the right direction on this would be greatly
appreciated.
to find for C#, and I don't really want to pay what Rational charges
for something as simple as a coverage tool. So, I'd like to try to
write my own, but I'm having trouble getting started. The way I see
it, I need to do the following…
1) Create a debugger object or something similar that will allow me
to step through my code.
2) Start a process to run through my unit tests, and use the debugger
to determine which lines of code execute.
I've looked into the Debug and Debugger classes in the MSDN
documentation, but neither of them seem to offer the functionality I
need. Can anyone tell me how to step through code like the debugger
does so I can determine which lines of code are executed? Any help to
get moving in the right direction on this would be greatly
appreciated.