At my company there has been a move away from our large e2e testing suite for various reasons:
- flaky tests
- long build times
- significant burden for multiple teams to contribute
The use of pact is seemingly only covering some small portion of each integration point between applications as large, comprehensive pacts that cover the full API and values used are considered too costly or coupled.
I am conflicted that we are losing test coverage of business use cases because there aren’t necessarily any tests that are automatically running a use case end to end.
How do you deal with this in your workplace and what is your position on e2e vs pact testing.
Yup, in my experience E2E tests have been super successful at catching bugs not surfaced through others.
Other types of tests**.
For instance integration with other services, performance regressions, etc.