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.

0
4 comments
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

Perfect!  Thank you.

0

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

0

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

0

Please sign in to leave a comment.