The Testing Pyramid: How to Structure Your Test Suite

What is the Testing Pyramid?

So, why a pyramid?

The forces shaping the pyramid

Testing Frontends with the Testing Trophy

The Test Matrix

Beware of dogmas

“As for end-to-end tests, they operate like a user. By definition, you test through the public interface of your website. If you change implementation under the hood, you can swap your whole backend. The test should not be concerned. The maintenance should actually be much lower.”

Gleb Bahmutov, Semaphore Uncut

The role of CI/CD in your testing suite

Final thoughts



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store