Exclude a single class from code coverage analysis

Hi, I would like to exclude some specific classes from code coverage, for example
My “Application.java” which is started when I run the application locally & manually.
It is just a main method to start the application so there is no much sense in testing it :slight_smile:

Hi,

Coverage exclusions work at the file level & up, so you’re not going to be able to exclude a single class within a file. But if that class is the only thing in the file, then you can exclude the file.

 
HTH,
Ann

That’s not really telling me how to do it… but … thanks… I figured it out myself.