-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
ctg-bugIssue is a bugIssue is a buglang-kotlinIssue is related to Kotlin language supportIssue is related to Kotlin language support
Description
Description
No tests are created when user tries to generate test for operator
function or for class with only infix
methods.
To Reproduce
Steps to reproduce the behavior:
- In UTBot settings set
Generated test language
toKotlin
other leave default - Generate tests for following code
class Operators {
operator fun Int.times(str: String) = str.repeat(this)
operator fun String.get(range: IntRange) = substring(range)
}
Expected behavior
Tests are supposed to be generated.
Actual behavior
Error "No methods for test generation found" shown.
Visual proofs (screenshots, logs, images)
Additional context
Metadata
Metadata
Assignees
Labels
ctg-bugIssue is a bugIssue is a buglang-kotlinIssue is related to Kotlin language supportIssue is related to Kotlin language support
Type
Projects
Status
Todo