Closed
Description
Description
When user starts test generation for Kotlin code UTBot creates .kt
file and put there Java code which obviously cannot be compiled.
To Reproduce
Steps to reproduce the behavior:
- Open UTBot Java project
- In UTBot settings set "Generated test language" = "Kotlin"
- Invoke test generation for
org/utbot/examples/codegen/FileWithTopLevelFunctions.kt
Expected behavior
Functional Kotlin tests are generated.
Actual behavior
FileWithTopLevelFunctionsKtTest.kt
created with Java code which cannot be executed.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done