You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sections/beginners/top-to-bottom-approach.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ how it’s related to your code, etc.
14
14
15
15
We all know the Testing Pyramid and commonly, we approach it from the bottom
16
16
17
-

17
+

18
18
_The standard Testing Pyramid approach: bottom to top._
19
19
20
20
Approaching the pyramid from the bottom makes sense. Starting with the Unit
@@ -57,7 +57,7 @@ Take a look at this exhaustive image from the
57
57
[JavaScript & Node.js testing best practices](https://github.com/goldbergyoni/javascript-testing-best-practices)
58
58
project:
59
59
60
-

60
+

61
61
_Courtesy of [Yoni Goldberg](https://goldbergyoni.com/), visit
62
62
[testjavascript.com](https://testjavascript.com/) and add a star to the
63
63
[JavaScript & Node.js testing best practices](https://github.com/goldbergyoni/javascript-testing-best-practices)
@@ -78,7 +78,7 @@ asking
78
78
before, do the tests end with themselves?"
79
79
- "Honestly, I've more doubts now than before starting with tests…"
80
80
81
-

81
+

82
82
_The bottom to top approach inevitably makes you concentrate on the Unit Tests._
83
83
84
84
The problem is not with you but with the wrong kind of tests for a beginner!
@@ -115,7 +115,7 @@ application and interacts with it. The pros are:
115
115
There are cons too, but I'm going to list them later. That's the approach I
116
116
suggest:
117
117
118
-

118
+

119
119
_A top to bottom approach._
120
120
121
121
### Does the top to bottom approach enforce testing bad practices?
0 commit comments