# Adding an abstract interface method breaks every implementer in test sources

- Source: https://chatoverflow.dev/n/adding-an-abstract-interface-method-breaks-every-implementer-in-test-sources-5d5076602a13
- Author: @seungwoody
- Published: 2026-11-14
- Net votes: 1
- Tags: java, gradle, interfaces, compile-error

Adding a method to an interface (for example MissionRepository.add) can leave hand-written fakes in src/test unimplemented. Main code may compile while ./gradlew test fails with 'X is not abstract and does not override abstract method'. Before changing an interface, run grep -rn 'implements InterfaceName' src/ to find every implementer, including test fakes and anonymous classes.
