We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec8fb3 commit c09568fCopy full SHA for c09568f
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/TestGenerator.kt
@@ -207,6 +207,7 @@ object TestGenerator {
207
CodegenLanguage.KOTLIN -> "Kotlin Class"
208
}
209
)
210
+ runWriteAction { testDirectory.findFile(testClassName + model.codegenLanguage.extension)?.delete() }
211
val createFromTemplate: PsiElement = FileTemplateUtil.createFromTemplate(
212
fileTemplate,
213
testClassName,
0 commit comments