Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Published : Apr 26, 2023
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Apr 2023
Trial ?

Vitest 是一款 JavaScript 的单元测试框架。迄今为止,许多团队一直依赖 Jest,但 Jest 与现代前端构建工具 Vite 不兼容。同时使用 Jest 和 Vite 强制团队创建两个流程管道,一个用于构建和开发,另一个用于单元测试,这需要繁琐的管道配置和重复的设置。这些问题都可以通过 Vitest 解决。它专门为 Vite 设计,并使用 Vite 作为打包工具。此外,Vitest 还具有 Jest 兼容的 API,这使得在各种构建设置中可以使用 Vitest 作为 Jest 的替代品。 Vite 和 Vitest 结合使用提供了更好的开发者体验,Vitest 也很快,但以我们的实际经验来看,它未必比使用 Jest 更快。

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes