Possible to show coverage by function rather than line?
Because of the nature of programming, sections of my code can never be hit by a unit tester unless I have a complicated setup (Network exceptions, SQL Server exceptions etc). Would it be possible to provide coverage details by function rather than by line of code within?
Please sign in to leave a comment.
On the same note, I'd think that a useful feature would be to Context Run all relevant tests from the production code function or production code line.
Dean,
For dotCover 1.0 we'll have only statement coverage.
Next versions will include other types of statistics like function coverage and branch coverage.
Tormod,
It would be possible to get list of tests covering specified function or statement.
This feature will appear in nightly builds during upcoming 2 weeks.