IntelliJ IDEA coverage engine is the same engine that is used within the IntelliJ IDEA to measure code coverage. This coverage attaches to JVM as a java agent and instruments classes on the fly when they are loaded by JVM. In particular that means that classes are not changed on disk and can be safely used for distribution packages.
IntelliJ IDEA coverage engine currently supports Class, Method and Line coverage. There is no Branch/Block coverage yet.
To configure code coverage by means of IntelliJ IDEA engine, follow these steps:
Skip to end of metadata Go to start of metadata