How do DRY, KISS and YAGNI prevent an automation framework from becoming over-engineered?
Answer
Remove duplication only when the duplicated knowledge changes together, keep common paths obvious, and do not build extension points for imagined needs. Readability and diagnostic clarity are more valuable than the smallest possible line count.
Strong answer includes
- knowledge duplication
- simple observable flows
- avoids speculative framework features
Practical example
An engineer builds a generic plugin system into the test framework 'in case we need it later,' but two years pass and nobody ever uses it — meanwhile it adds a layer of indirection that confuses every new test author. Removing it and inlining the one real use case makes the codebase smaller and easier to read.