Code coverage for aspx, aspx.cs, ascx and ascx.cs files
my application is built using aspx, aspx.cs, ascx and ascx.cs files. i want to do code coverage for all of these files. I don't have Unit tests existing. please let me know if I can开发者_开发技巧 do code coverage without any unit tests directly?? if yes, how?
Thanks in advance, Shweta
I don't think you can get code coverage with out unit tests -
Code coverage is a measure used in software testing. It describes the degree to which the source code of a program has been tested.
It is a form of testing that inspects the code directly and is therefore a form of white box testing.
In time, the use of code coverage has been extended to the field of digital hardware, the contemporary design methodology of which relies on hardware description languages (HDLs).
- Source : http://en.wikipedia.org/wiki/Code_coverage
精彩评论