Repolode
cypress-io

cypress-io/cypress

Cypress is a JavaScript testing framework for end-to-end and component tests of anything that runs in a browser.

Stars
51,014
Forks
3,597
Open issues
1,137
Last commit
2 hours ago

What is it?

Cypress is a testing tool for web applications. Tests are written in JavaScript or TypeScript and run directly in a browser, so developers can see the application and the test steps side by side while they work.

It covers end-to-end testing of full user flows as well as component testing of individual UI components. The project is installed through npm, Yarn, or pnpm and supports Mac, Linux, and Windows. It also integrates with Testing Library packages for React, Vue, Angular, and Svelte, as listed in its topics.

The project offers a paid Cypress Cloud service for recording and viewing test runs, and it provides README badges that show test status for projects that use it.

Key features

  • 01Runs tests directly in the browser alongside the application.
  • 02Supports end-to-end tests and component tests.
  • 03Installable via npm, Yarn, or pnpm on Mac, Linux, and Windows.
  • 04Integrates with Testing Library for React, Vue, Angular, and Svelte.
  • 05Offers Cypress Cloud for recording and reviewing test runs.

Use cases

  • Writing end-to-end tests for login, checkout, or other multi-step user flows in a web app.
  • Testing individual React, Vue, Angular, or Svelte components in isolation.
  • Adding automated browser tests to a CI pipeline for front-end projects.

Quick start

  1. 1

    Install Cypress as a dev dependency with npm

    npm install cypress --save-dev
  2. 2

    Or install with yarn

    yarn add cypress --dev
  3. 3

    Or install with pnpm

    pnpm add cypress --save-dev

Things to know

  • Requires a browser-based project to test; it is not a general-purpose library.

In collections

Topics

FAQ

What is cypress?
Cypress is a JavaScript testing framework for end-to-end and component tests of anything that runs in a browser. Cypress is a testing tool for web applications. Tests are written in JavaScript or TypeScript and run directly in a browser, so developers can see the application and the test steps side by side while they work.
Is cypress free to use? What license does it have?
cypress is open source under the MIT license. Check the license terms before using it in commercial products.
Is cypress still maintained?
Actively maintained. The last commit to cypress was on Oct 22, 2026.
What can I use cypress for?
Writing end-to-end tests for login, checkout, or other multi-step user flows in a web app. Testing individual React, Vue, Angular, or Svelte components in isolation. Adding automated browser tests to a CI pipeline for front-end projects.
How do I install cypress?
Install Cypress as a dev dependency with npm: npm install cypress --save-dev Or install with yarn: yarn add cypress --dev Or install with pnpm: pnpm add cypress --save-dev
Where can I get cypress?
The source code and installation instructions are on GitHub: https://github.com/cypress-io/cypress

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects