Skip to content

Commit 1550c15

Browse files
committed
documentation
1 parent 498311f commit 1550c15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

book/types-of-test.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@
1616

1717
### Testing Pyramid
1818

19-
The testing pyramid aims to resume the cost of every kind of test. The classic one is the following
19+
The "Test Pyramid" is a famous metaphor in the programming world about the cost-effort of diffent types of testing and how much of each should be present in a codebase (where the top very expensive and the bottom less expensive)
2020

2121
<div>
2222
<img src="../assets/images/test-pyramid.png" alt="Testing pyramid" style="width: 100%; max-width: 400px; margin-left: auto; margin-right: auto;"/>
2323
</div>
2424
<br /><br />
2525

26-
while Kent C. Dodds created a new version of the pyramid, the "the Testing Trophy". Kent created the trophy based not only on the cost of the tests but on the **return of investment**. Then, he highlighted the "Integration test" area as the most important one
26+
While the Testing Pyramid idea has been based on solid arguments, it's foundation considered non cost-effective UI and (most) integration tests due to high cost of development and maintainance but this idea predates most of recent discoveries and tools in testing that are now available.
27+
28+
Kent C. Dodds created a new version of the pyramid, the "the Testing Trophy". Kent created the trophy based not only on the cost of the tests but on the **return of investment**. He highlighted the "Integration test" area as the most important one
2729

2830
<div>
2931
<img src="../assets/images/test-trophy.jpg" alt="Testing trophy" style="width: 100%; max-width: 400px; margin-left: auto; margin-right: auto;"/>

0 commit comments

Comments
 (0)