- Testing
- Comparing Next.js testing tools and strategies
- For end-to-end testing, Cypress is a popular choice, although Playwright has several advantages over Cypress. For unit and integration testing, Vitest has recently become a preferred choice compared to Jest due to its lightweight, blazing-fast, performant, and dev-first experience.
End-to-end (E2E) test
Unit test
Selenium
其他工具