JUnitConfiguration (@NotNull PsiElement psiElement, @NotNull Class<? extends AbstractJavaTestConfigurationProducer<?>> producerClass, @NotNull MapDataContext dataContext) { final JUnitConfiguration configuration = super.createJUnitConfiguration(psiElement, producerClass, dataContext); RunManagerImpl manager = (RunManagerImpl)RunManager.getInstance(myProject); manager.setTemporaryConfiguration(new RunnerAndConfigurationSettingsImpl(manager, configuration)); return configuration; }