The base of the pyramid is unit tests: fast, numerous, cheap. In the middle, integration and API tests. At the top, a few end-to-end tests on the critical journeys.
An inverted pyramid (mostly UI tests) gives a slow, fragile suite.
Lots of unit tests, fewer integration tests, a few end-to-end tests.
The base of the pyramid is unit tests: fast, numerous, cheap. In the middle, integration and API tests. At the top, a few end-to-end tests on the critical journeys.
An inverted pyramid (mostly UI tests) gives a slow, fragile suite.