code coverage

Mar 30, 2012 at 8:31 AM

Hi,

Does anybody know if it is possible to get any code coverage status from the tests?

If so, could you please explain how ?

 

Many thanks

Mar 30, 2012 at 1:11 PM

It is possible to get statement coverage statistics and I've written some extensions around TST to do that. The approach I took was to add comments into the code being tested tagging each line of code, parse the stored procedures at the beginning of a test session for the tags and then ran a trace while the tests were running which could then be parsed for the tags. The end result was a list of tags for all of the statements that could be run and a list of tags for all of the statements that were run which made it easy to generate both statement coverage statistics and a list of which code coverage tags weren't run.

Apr 10, 2012 at 12:22 PM

Hi John,

Are these extensions available ?

Thanks

Jun 25, 2012 at 10:49 PM

No, I haven't made these extensions available yet. I need to clean up the code and put tests around the functionality and haven't had the time to do so yet.