Testing Pyramid

Balance the Test Pyramid

Unit tests

  • Testing individual components or functionalities. They are small and isolated, so every Unit test can run separately.
  • They are fast, so they can be executed often. The good practice is to execute the Unit tests with every code change.
  • They are considered the cheapest as they are easiest to maintain, they run fast and can be the first to find mistakes if used properly.
  • These are the reasons for having the highest number of Unit tests.

System / Integration tests

  • Testing the interaction between individual components of application as interactions between APIs, databases and the like. This is the reason for higher complexity than Unit tests, but they exclude the testing of the UI compared to the E2E tests.
  • They are slower compared to the unit tests as they test parts of the application interacting together.
  • The maintenance costs are higher since the different parts of the app are involved.

User Interface (UI) / End-to-end (E2E) tests

  • To ensure that the whole application works as required. User interface testing is the usual way of implementing such tests.
  • These tests take the longest time to run, which can be expensive. That is why they are not run so often compared to the previous.
  • They are the most expensive to maintain as a lot of them can be broken easily by system enhancements.

Similar posters

User Story Creation
User Story Creation Creating a User Story is a continuous process based on the 3Cs phases, supported by INVEST, 5Ws, and the Definition of Done.
Radical Candor
Radical Candor Radical Candor is a framework describing four different behaviors. In order to become Radically Candid you need to understand all four types.
GSD / Get Stuff Done Whee
GSD / Get Stuff Done Whee Get Stuff Done Wheel is a framework for aligning and guiding the work of a team. It allows teams to deliver remarkable results more quickly
AIDA Model
AIDA Model The AIDA model is a model, where a persona moves through a series of steps to make a purchase decision, used in marketing, sales, planning...
STEEPLED STEEPLED - Social, Technological, Economical, Environmental, Political, Legal, Ethical and additional compared to STEEPLE is Demographic.
BLUF - Bottom Line Up Front
BLUF - Bottom Line Up Front BLUF is a framework for declaring the purpose of the message and the action required. It should provide the most important information.
Transactional Analysis
Transactional Analysis Transactional Analysis is a psychoanalytic theory and method of therapy. A personality is made up of three ego states: Parent, Adult, Child.
Conflict styles
Conflict styles There are different strategies for managing conflicts. Categorizing conflict styles enable learning and appropriate usage of these styles
WRAP Decision-Making
WRAP Decision-Making The WRAP model for decision-making helps us to be aware of and avoid decision-making biases like Outcome, Cognitive & Confirmation Bias.
MVP Types
MVP Types Minimum Viable Product (MVP) is a simple product with only a minimal set of features to enable testing with real users. That can be achieved using various types of MVPs.