We recently introduced Ava in our codebase and we found that the more React
components we tested, the slower the tests became (~120s
for one hundred tests).
So, I created this benchmark to compare the React test runners performance.
This is far from being scientific and the goal is not to make a ranking.
There are a lot of wonderful open source tools nowadays and we just have to find the right one for our project.
N. of tests | Time (s) |
---|---|
1 | 1.71 |
10 | 11.04 |
100 | 118.59 |
1000 | 🔥 |
N. of tests | Time (s) |
---|---|
1 | 3.11 |
10 | 16.84 |
100 | 37.47 |
1000 | 215.79 |
N. of tests | Time (s) |
---|---|
1 | 0.97 |
10 | 1.18 |
100 | 2.22 |
1000 | 9.12 |
N. of tests | Time (s) |
---|---|
1 | 1.28 |
10 | 1.48 |
100 | 2.42 |
1000 | 10.20 |