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?
10
Upvotes
View all comments
Show parent comment
10
u/zaphodikus Jul 07 '26 edited Jul 07 '26
There are performance tests, security tests, and even classes of defect nobody knows exist in any 3rd party interfaces , unless you are an embedded product and build your own radios too, you are not immune to 3rd party project and product risks. If you use a network or a filesystem you did not write you will still find it hard. Even displays and keyboards may want testing at the extreme. So yeah 100% is a diminishing returns point.
However if you were to explain the 80%/20% principle to your boss, then they would realise that 80% code coverage is pretty close to 100%?