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.
Please sign in to leave a 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.
In the plug-in project through the way of how to access to `com.intellij.coverage.CoverageSuiteListener` @Anna Kozlova
listener is available as part of the platform, there should be nothing specific about it