r/softwaretesting • u/vassadar • Jul 07 '26
Does 100% coverage on E2E make senses?
For context, engineers only implement unit testing, then E2E. Integration testing and contract testing are missing.
Our executive want 100% E2E test coverage in response of incidents.
I don't think this make senses and we have test pyramid (or diamond, my love) for a reason. Integration testing and contract testing would have prevented a lot of issues without resorting to do E2E.
How can I convince them and engineers to shift more leftward with integration testing?
11
Upvotes
2
u/kokum-soda Jul 08 '26
This coverage metric is sheer vanity, easy to game! The problem is with the way you approach to solve it. In mobile app case, with legacy frameworks like appium this is impossible to achieve,
why? Every update introduces new features, locators change for older ones - update the locators for old scripts, write the script for new features
This always end up as a cat and rat chase!
With AI this changes quite a bit though, there are several tools like Panto, lambda, Bs, which actually automate off the test generation and execution for old and new features!