跳到内容

测试工具

代码测试工具

测试工具随时间变化的比率

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

模式:

视图:

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

其他答案

101
0%
5%
11%
16%
22%
27%
受访者百分比

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

1,522
0%
12%
25%
37%
50%
62%
受访者百分比
Which of these tools do you use in a professional context?
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

我的 2024 选择: 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.
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

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).

视图:

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%
调查对象百分比

测试满意度

0
1
2
3
4
2016
2017
2018
2019
2020
2021
2022
2023
2024
0
1
2
3
4
平均 {axis}
您对测试工具的现状满意吗?

测试工具的痛点

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%
受访者百分比
在使用测试工具时,您遇到过哪些痛点?
(自由提问)
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.
感谢合作伙伴对我们的支持! 了解更多。