-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Characteristics
- Issue Type: [feature]
- Reproducibility: [always]
- Severity: [feature]
- Tool/Service/Component: [descartes/constant, 1.2.7-SNAP]
- Execution Environment: [j11, linux]
Description
The stop method 'constant' sometimes creates a mutant that returns the exact same value of the returned constant. I face this limitation in abstract classes that have some methods with default behavior (eg https://github.com/interacto/interacto-java-api/blob/master/src/main/java/io/github/interacto/binding/WidgetBindingImpl.java#L243). The method returns false and Descartes creates a mutant that returns true
while it should just create a mutant that returns false
.
Do you think that is possible to improve that?
Steps to reproduce
Create a method that returns true.
Enable except[constant]