Notification after running tests with coverage

已回答

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
正式评论

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

Avatar
Permanently deleted user

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

请先登录再写评论。