void (RunConfigurationBase configuration) { final CoverageEnabledConfiguration covConfig = CoverageEnabledConfiguration.getOrCreate(configuration); // reset coverage suite covConfig.setCurrentCoverageSuite(null); // register new coverage suite Project project = configuration.getProject(); ApplicationManager.getApplication().invokeAndWait(() -> covConfig.setCurrentCoverageSuite(CoverageDataManager.getInstance(project).addCoverageSuite(covConfig)), ModalityState.nonModal()); }