Customize code coverage to ignore or accept private constructors

Is there a way in intellij-idea (version 11.1.5) to ignore or accept certain parts of the code?

In my configuration, I use IDEA as a runner to cover.

I currently have a static class with a private constructor.

This constructor should never be a call.

Is there anything I can do to make code coverage understand this?

I just want to make it easier for you to find out that I have full coverage, and not look at each class and make sure that I don’t miss anything.

thank

+4
source share
2 answers

, ().

0

Source: https://habr.com/ru/post/1529078/


All Articles