pitest-kotlin
pitest-kotlin copied to clipboard
Prevent mutating data class accessors
Pitest changes String property getter to return an empty string and then executes tests to see if something is broken.
This is a waste of time. Properties in data classes should not be tested, it should be assumed that they always work as it is a language feature.