cypress README

README проекта с github.com/cypress-io/cypress. Одним файлом markdown: README.md.

Cypress

AI writes the code. Cypress proves it works.

Cypress is a JavaScript and TypeScript testing framework for end-to-end and component testing.
Run your tests in a real browser and rewind any failure.
Works wherever you do: your machine, CI, or your coding agent.

npm version npm downloads GitHub stars Docker pulls

Discord members skills.sh Ask DeepWiki

https://github.com/user-attachments/assets/076e0f06-0529-43de-9ce8-b64209f8e859

What is Cypress?

Cypress is a quality platform for teams shipping modern web applications. It tests anything that runs in a browser, on your machine and in CI.

Installing

Install Cypress for Mac, Linux, or Windows with your package manager of choice, then get started.

npm install cypress --save-dev   # npm
yarn add cypress --dev           # Yarn
pnpm add cypress --save-dev      # pnpm
bun add cypress --dev            # Bun

Quick start

Open Cypress from your project root:

npx cypress open

Coding with an AI agent? Leave Cypress open and let the agent drive it from another terminal with cypress tap. It can run a spec, check its status, and read the failing test's Command Log, error, and DOM, so it can fix its own failures as it codes.

Add Cypress to your coding agent

Give your coding agent the official Cypress skills so it writes, runs, and debugs tests the Cypress way.

npx skills add cypress-io/ai-toolkit

Then connect it to Cypress Cloud with Cloud MCP, so it can check run status, find flaky tests, and pull failure details, including Test Replay links.

Community plugins

Extend Cypress with plugins built by the community and the Cypress team, covering everything from visual testing and accessibility to authentication and reporting. Browse the full list in the plugins directory.

Community & resources

Contributing

cypress CircleCI

Please see our Contributing Guideline which explains repo organization, linting, testing, and other steps.

License

MIT license

This project is licensed under the terms of the MIT license.

Badges

Configure a badge for your project's README to show your test status in the Cypress Cloud.

cypress

Or let the world know your project is using Cypress with the badge below.

Cypress.io

[![Cypress.io](https://img.shields.io/badge/tested%20with-Cypress-00814D?style=for-the-badge&labelColor=1B1E2E&logo=cypress)](https://www.cypress.io/?utm_source=github&utm_medium=badge&utm_campaign=tested-with-cypress&utm_content=tested-with-badge)

cypress (cypress-io/cypress)

Ищем в базе…

Что это такое?Cypress — это фреймворк для тестирования на JavaScript/TypeScript для всего, что работает в браузере. Он создан для того, чтобы сквозное и компонентное тестирование было быстрым, простым и надёжным.
Это самостоятельный фреймворк или просто обёртка над чем-то вроде Selenium?Это самодостаточный фреймворк для тестирования со своим собственным раннером тестов и графическим интерфейсом, а не тонкая библиотека-обёртка. Cypress выполняет тестовый код прямо в браузере вместе с вашим приложением.
Как его установить и запустить?Установите сборку для Mac, Linux или Windows и начните работу оттуда. В проекте на JS/TS обычно его добавляют как dev-зависимость npm и открывают тестовый раннер.
Нужен ли мне Node.js, чтобы собрать или запустить это?Да, репозиторий написан на TypeScript и для сборки и запуска требует Node.js >=24.15.0 и Yarn >=1.22.22.
На каких операционных системах работает Cypress?Он работает на Mac, Linux и Windows.
Что такое Cypress Cloud?Cypress Cloud — это сопутствующий сервис, который записывает результаты ваших запусков тестов, позволяя их просматривать, получать значок статуса тестов для вашего проекта и пользоваться такими функциями, как Test Replay.
Какие фреймворки для компонентного тестирования поддерживаются?В комплекте есть библиотеки тестирования для Angular, React, Svelte и Vue, которые позволяют монтировать и тестировать отдельные компоненты, а не только целые страницы.
Что такое Test Replay?Test Replay — это функция Cypress Cloud, которая позволяет пошагово просматривать записанный запуск теста так, будто он происходит в реальном времени. Это полезно для отладки сбоев из CI без повторного запуска набора тестов локально.
Какие есть похожие проекты?e2e, playwright, SeleniumBase, ava, nx, expect, todomvc, appium
Автор
cypress-io
Размер
588.8 MB
Звёзды
51K
Возраст
11 г
Коммиты · 90 дней