The Test pyramid: A flawed approach to Testing in Modern Software Development

Xavier Escudero
7 min readAug 31, 2023

The Test Pyramid concept has a history that spans over a decade. It has evolved and adapted to various software development practices and may vary based on the context and evolving technologies. While this concept has been praised for promoting a structured approach to testing, it’s not without its flaws and limitations that make it less than ideal for all scenarios.

A little introduction about the Test Pyramid

The test pyramid is a concept developed by Mike Cohn in “Succeeding with Agile” (2009).

The “Test Pyramid” is a metaphor that tells us to group software tests into buckets of different granularity. It also gives an idea of how many tests we should have in each of these groups.

We’re classifying our tests depending on the degree of isolation of elements to be tested.

Its essential point is that you should have many more low-level unit tests than high level end-to-end tests running through a GUI, because the lower tests are cheaper to implement and fast to execute.

https://martinfowler.com/bliki/TestPyramid.html

--

--

Xavier Escudero

Innovation enthusiast, passionate about automation in several fields, like software testing and trading bots