User Tools

Site Tools


the_testing_pyramide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
the_testing_pyramide [2025/09/02 19:23] plidathe_testing_pyramide [2025/09/03 13:11] (current) plida
Line 3: Line 3:
 [[https://martinfowler.com/articles/practical-test-pyramid.html|Source]] [[https://martinfowler.com/articles/practical-test-pyramid.html|Source]]
  
-The testing pyramide is a conceptual model that shows how to correctly distribute unit, integration and end-to-end tests. +The [[software_testing|testing]] pyramide is a conceptual model that shows how to correctly distribute [[unit_test|unit]][[integration_test|integration]] and [[end_to_end_test|end-to-end]] tests.  
 + 
 +{{ https://ctf-cci-com.imgix.net/5yK8Y4Xyw9UrFKrwofhpRY/93abeed26295d8be191b53da9bf62ca5/article-image-2.png?ixlib=rb-3.2.1&w=2000&auto=format&fit=max&q=60:article-image-2_png.png?direct&400|}}
  
 ==== Main takeaways ==== ==== Main takeaways ====
Line 10: Line 12:
   - Write tests with different granularity.   - Write tests with different granularity.
  
-{{ https://ctf-cci-com.imgix.net/5yK8Y4Xyw9UrFKrwofhpRY/93abeed26295d8be191b53da9bf62ca5/article-image-2.png?ixlib=rb-3.2.1&w=2000&auto=format&fit=max&q=60:article-image-2_png.png?direct&400|}} 
  
 ==== Benefits ==== ==== Benefits ====
Line 18: Line 19:
   - Ensures a balance between speed of feedback and complete verification.   - Ensures a balance between speed of feedback and complete verification.
  
 +==== Typical mistakes ====
 +
 +  * ice cream cone (reversed pyramid)
 +  * high-level tests repeat low-level ones.
 +  * isolation break: unit tests access the database or network and become integration testing.
  
  
the_testing_pyramide.1756840999.txt.gz · Last modified: by plida