Notification after running tests with coverage

Answered

I am writing a plugin that examines test coverage data.  What is the best way to be notified when a test run (with coverage) completes?  That is, I want to know when new coverage data is available.

4 comments
Comment actions Permalink
Official comment

Hi Rick,

there is `com.intellij.coverage.CoverageSuiteListener` which notifies when coverage is selected (implicitly after run passes or explicitly by user action). Hope it helps

Anna

Comment actions Permalink

Perfect!  Thank you.

0
Comment actions Permalink

In the plug-in project through the way of how to access to `com.intellij.coverage.CoverageSuiteListener` @Anna Kozlova

0
Comment actions Permalink

listener is available as part of the platform, there should be nothing specific about it

0

Please sign in to leave a comment.