I am attempting to achieve a minimum code coverage requirement for unit testing all of our class and table methods. I have noticed, however, that for any test classes that do not contain a test method, code coverage simply skips these classes. I have several test classes and many of them, if not the majority, contain only the class declaration. Is there any easy way to force code coverage on these classes? Currently I have a test suite with all of the classes inside it, but when I run the suite the code coverage percentage is entirely inaccurate. Also, adding a dummy test method to every class would not be an easy solution for me. Thanks in advance!
↧