Autogenerated Kotlin getters/setters shouldn't be tested #911
Labels
comp-ui
Improvements of plugin UI appearence and functionality
ctg-bug
Issue is a bug
lang-kotlin
Issue is related to Kotlin language support
Description
For each field Kotlin automatically generates getter/setter, there is no sense in testing them. However, they are shown in member list after launching action.
To Reproduce
Declare simple Kotlin class like
class B(val x: Int)
, launch action on it.Expected behavior
Action is disabled as class has no testable methods.
Actual behavior
Action is enabled, members list has one method
getX()
, after selecting and launching generate we receive errorNo methods found
.Visual proofs (screenshots, logs, images)
The text was updated successfully, but these errors were encountered: