Bỏ qua đến nội dung

Kiểm thử

Công cụ để kiểm thử code của bạn

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

Câu trả lời khác

101
0%
5%
11%
16%
22%
27%
% của người trả lời câu hỏi

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

🚫 None

1,522
0%
12%
25%
37%
50%
62%
% của người trả lời câu hỏi
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

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%
% của người trả lời khảo sát

Hạnh phúc với Công cụ Kiểm thử

0
1
2
3
4
2016
2017
2018
2019
2020
2021
2022
2023
2024
0
1
2
3
4
Trung bình {axis}
Bạn hài lòng với trạng thái hiện tại của công cụ kiểm thử như thế nào?

Điểm đau với Công cụ Kiểm thử

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%
% của người trả lời câu hỏi
Bạn đã gặp phải những điểm đau nào khi sử dụng công cụ kiểm thử?
(câu hỏi dạng tự do)

Tài nguyên được đề xuất

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.
Cảm ơn các đối tác đã hỗ trợ chúng tôi! Tìm hiểu thêm.