implementing a custom CoverageRunner

Hello again,

I'd like my Plugin to connect to the CoverageRunner extension point by extending the JavaCoverageRunner class. However it seems the com.intellij.coverage package cannot be found and I don't see a way to add the "coverage-common" plugin as a dependency for my own plugin either. Is this intentional or am I missing something obvious?

Many thanks in advance!

0
3 comments

JavaCoverageRunner is part of the coverage plugin. Simply add <depends>Coverage</depends> to your plugin.xml and add plugins/coverage/lib/*.jar to the classpath of your IntelliJ IDEA SDK.

0
Avatar
Permanently deleted user

Thank you,

in hindsight, this was quite obvious. :)

0

@Dmitry Jemerov  It doesn't seem to work, and it looks like an error will be reported, but IDEA1CoverageRunner clearly inherits JavaCoveragerunner。

0

Please sign in to leave a comment.