Salt la conținut

Testare

Instrumente pentru testarea codului

Testing Tools Ratios Over Time

It's rare to see a trend as clear as Vitest's ascencion through the ranks over the past few years. While it may "only" be number four in terms of usage, it already tops the interest, retention, and overall positivity rankings – and shows no sign of conceding the top spot anytime soon.

Jest
Mocha
Storybook
Cypress
Puppeteer
Testing Library
Playwright
WebdriverIO
Vitest
Selenium
TestCafe
Mock Service Worker
Node Test Runner

Mode:

View:

0%
20%
40%
60%
80%
100%
2016
2017
2018
2019
2020
2021
2022
2023
2024
0%
20%
40%
60%
80%
100%

Other Testing Tools

0%
5%
11%
16%
22%
27%
1

77
2

59
3

50
4

44
5

34
6

23
7

17
8

11
9

11
10

9
11

Alte răspunsuri

101
0%
5%
11%
16%
22%
27%
% din respondenții la întrebare

Vitest displays the classic signs of a technology at the start of its lifespan: high retention and interest, but low adoption in large companies – for now.

0%
12%
25%
37%
50%
62%
1

7,080
2

4,559
3

3,911
4

3,592
5

3,520
6

2,908
7

2,027
8

1,819
9

1,093
10

920
11

427
12

304
13

151
14

🚫 Niciuna

1,522
0%
12%
25%
37%
50%
62%
% din respondenții la întrebare
Which of these tools do you use in a professional context?
We asked members of the JavaScript community to share their “pick of the year”

My 2024 Pick: Shruti Kapoor

My Pick of the Year is my friend Shruti Kapoor. Shruti has a way of explaining even the trickiest technical JS concepts in very easy-to-understand way. In her fun and engaging YouTube videos and conference talks, she teaches her audience the most critical parts of JavaScript development without a lot of fluff.
We asked members of the JavaScript community to share their “pick of the year”

Shaundai Person

Front end Senior Software Engineer (Netflix) and course instructor

Number of Items

How many items in this category respondends have used (or heard of).

View:

0%
4%
8%
12%
17%
21%
1

0

2,911
2

1

1,260
3

2

1,398
4

3

1,470
5

4

1,443
6

5

1,360
7

6

1,278
8

7

1,092
9

8

757
10

9

516
11

10

341
12

11

131
13

12

46
14

13

12
0%
4%
8%
12%
17%
21%
% din respondenții sondajului

Satisfacția față de testare

0
1
2
3
4
2016
2017
2018
2019
2020
2021
2022
2023
2024
0
1
2
3
4
Media {axis}
Cât de mulțumit(ă) ești de starea generală a instrumentelor de testare?

Puncte slabe ale testării

Mocking is the biggest pain point presented by testing, closely followed by the hassle of complex setups and configurations, and the burden of slow-running tests.

0%
16%
31%
47%
63%
78%
1

Mocking

2

Configuration

3

Performance

4

5

ESM & CJS

6

Excessive complexity

7

Flakiness

8

browser_testing_issues

9

E2E testing

10

Lack of documentation

0%
16%
31%
47%
63%
78%
% din respondenții la întrebare
Care sunt punctele slabe pe care le-ai întâlnit la instrumentele de testare?
(întrebare deschisă)

Resurse recomandate

Testing Fundamentals
Steve Kinney
Temporal

Testing Fundamentals

Learn the basics of testing and apply Test-Driven Development techniques to your workflow. Create automated tests for DOM elements and user interactions. Use mocks and spies to control your environment and test more complex code. Gain practical experience writing unit and integration tests while exploring common testing tools.
Web App Testing & Tools
Miško Hevery
Qwik Creator (Previously Angular)

Web App Testing & Tools

Dive into testing with Miško Hevery, covering unit and end-to-end testing, refactoring for testability, and using tools like Vitest and Playwright.
Mulțumim partenerilor noștri pentru susținere! Află mai multe.