Open
Description
Description
No tests are created when user tries to generate test for infix
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 InfixFuncs {
infix fun Int.times(str: String) = str.repeat(this)
infix fun String.onto(other: String) = Pair(this, other)
infix fun Int.mult(other: Int) = other * this
}
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
Type
Projects
Status
Todo