Skip to content

Commit d086ce5

Browse files
committed
Transform the PNGs into JPGs to ease dark theme readability
1 parent ceaec9e commit d086ce5

File tree

9 files changed

+4
-4
lines changed

9 files changed

+4
-4
lines changed
372 KB
Loading
-147 KB
Binary file not shown.
776 KB
Loading
-417 KB
Binary file not shown.
391 KB
Loading
-133 KB
Binary file not shown.
352 KB
Loading
-144 KB
Binary file not shown.

sections/beginners/top-to-bottom-approach.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ how it’s related to your code, etc.
1414

1515
We all know the Testing Pyramid and commonly, we approach it from the bottom
1616

17-
![Bottom to top approach means starting with the Unit Tests.](../../assets/images/top-to-bottom-approach/bottom-to-top-approach.png)
17+
![Bottom to top approach means starting with the Unit Tests.](../../assets/images/top-to-bottom-approach/bottom-to-top-approach.jpg)
1818
_The standard Testing Pyramid approach: bottom to top._
1919

2020
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
5757
[JavaScript & Node.js testing best practices](https://github.com/goldbergyoni/javascript-testing-best-practices)
5858
project:
5959

60-
![Mental and time capacity is mainly dedicated to the development phase, a few of them can be dedicated to writing tests.](../../assets/images/top-to-bottom-approach/headspace.png)
60+
![Mental and time capacity is mainly dedicated to the development phase, a few of them can be dedicated to writing tests.](../../assets/images/top-to-bottom-approach/headspace.jpg)
6161
_Courtesy of [Yoni Goldberg](https://goldbergyoni.com/), visit
6262
[testjavascript.com](https://testjavascript.com/) and add a star to the
6363
[JavaScript & Node.js testing best practices](https://github.com/goldbergyoni/javascript-testing-best-practices)
@@ -78,7 +78,7 @@ asking
7878
before, do the tests end with themselves?"
7979
- "Honestly, I've more doubts now than before starting with tests…"
8080

81-
![The Testing Pyramid with every kind of tests highlighted with the attention you dedicate them with a bottom to top approach.](../../assets/images/top-to-bottom-approach/unit-testing-first.png)
81+
![The Testing Pyramid with every kind of tests highlighted with the attention you dedicate them with a bottom to top approach.](../../assets/images/top-to-bottom-approach/unit-testing-first.jpg)
8282
_The bottom to top approach inevitably makes you concentrate on the Unit Tests._
8383

8484
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:
115115
There are cons too, but I'm going to list them later. That's the approach I
116116
suggest:
117117

118-
![Starting from the top of the testing pyramid allows you to concentrate on UI tests firstly.](../../assets/images/top-to-bottom-approach/ui-testing-first.png)
118+
![Starting from the top of the testing pyramid allows you to concentrate on UI tests firstly.](../../assets/images/top-to-bottom-approach/ui-testing-first.jpg)
119119
_A top to bottom approach._
120120

121121
### Does the top to bottom approach enforce testing bad practices?

0 commit comments

Comments
 (0)