---
title: Testing
description: Learn how to set up Next.js with three commonly used testing tools — Cypress, Playwright, Vitest, and Jest.
url: "https://nextjs.org/docs/14/pages/building-your-application/testing"
version: 14.2.35
lastUpdated: 2023-12-13
prerequisites:
  - "Building Your Application: /docs/14/pages/building-your-application"
---



- [Vitest](/docs/14/pages/building-your-application/testing/vitest)
  - Learn how to set up Next.js with Vitest and React Testing Library - two popular unit testing libraries.
- [Jest](/docs/14/pages/building-your-application/testing/jest)
  - Learn how to set up Next.js with Jest for Unit Testing.
- [Playwright](/docs/14/pages/building-your-application/testing/playwright)
  - Learn how to set up Next.js with Playwright for End-to-End (E2E) and Integration testing.
- [Cypress](/docs/14/pages/building-your-application/testing/cypress)
  - Learn how to set up Next.js with Cypress for End-to-End (E2E) and Component Testing.

---

For an index of all available documentation, see [/docs/14/llms.txt](/docs/14/llms.txt)