Skip to content

Commit 695969c

Browse files
authored
docs(angular): 📝 enhance testing strategy section with visual examples (#13)
1 parent a0c28cd commit 695969c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

‎apps/cookbook/docs/angular/01-testing/02-designing-a-pragmatic-testing-strategy/index.mdx

+6-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,12 @@ Interestingly, in the example above, we can observe that with such an approach,
148148
The **two extremes that wouldn't work** are the following:
149149

150150
- **Only Wide Tests** _(ice-cream cone)_: We would probably require dozens of relatively complex Wide tests to reach all the edge cases and the same level of confidence.
151-
- **Over-Narrow Tests** _(misunderstood pyramid)_: We would probably require dozens of over-narrow tests and 3 to 4 Test Doubles to reach all the edge cases.
151+
152+
![Ice-Cream Cone Model Example](./composability-ice-cream-cone.jpg)
153+
154+
- **Over-Narrow Tests** _(misunderstood pyramid)_: We would probably require dozens of over-narrow tests and at least 4 Test Doubles to reach all the edge cases.
155+
156+
![Misunderstood Pyramid Model Example](./composability-misunderstood-pyramid.jpg)
152157

153158
## What Should Be Tested?
154159

0 commit comments

Comments
 (0)