Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Prevent mutating data class accessors #6

Open
pkubowicz opened this issue Jun 25, 2020 · 0 comments
Open

Prevent mutating data class accessors #6

pkubowicz opened this issue Jun 25, 2020 · 0 comments

Comments

@pkubowicz
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant