不知道现在大家用啥做单元测试??
1
IvanLi127 2022-08-25 09:33:48 +08:00
Jest · 🃏 Delightful JavaScript Testing
https://jestjs.io/zh-Hans/ |
3
L1shen 2022-08-25 10:30:31 +08:00
vitest
|
4
renhou 2022-08-25 10:36:15 +08:00
jest
|
5
KouShuiYu 2022-08-25 10:45:17 +08:00
|
6
GreatAuk 2022-08-25 10:58:33 +08:00
vitest
|
7
scyuns 2022-08-25 11:08:49 +08:00
原来有这么多测试框架呀
|
8
Terry05 2022-08-25 11:27:06 +08:00
vitest
|
9
magicdawn 2022-08-25 12:51:01 +08:00
坚持 mocha + should.js 好多年
|
10
molvqingtai 2022-08-25 13:07:14 +08:00 via Android
vitest 直接可以直接使用 edge runtime ,像 fetch 、formData 、stream 相关的 API 都不用找 polifyll 了,不要太爽
|
11
zhuweiyou 2022-08-25 14:15:34 +08:00
vitest 比 jest 快,但是我不写测试
|
12
ada87 2022-08-25 19:30:29 +08:00
https://japa.dev/
Japa is an API-first testing framework. It focuses only on testing Node.js (backend) applications, thus resulting in a fast, small, and simple tests runner. |