cypress README

The project's README from github.com/cypress-io/cypress. As one markdown file: README.md.

Cypress Logo

Documentation | Changelog | Roadmap

The web has evolved. Finally, testing has too.

Fast, easy and reliable testing for anything that runs in a browser.

Join us, we're hiring.

npm Discord chat StackShare

What is Cypress?

Why Cypress Video

Installing

npm version

Install Cypress for Mac, Linux, or Windows, then get started.

npm install cypress --save-dev

or

yarn add cypress --dev

or

pnpm add cypress --save-dev

installing-cli e1693232

Contributing

cypress CircleCI - develop branch

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

License

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 or test count in the Cypress Cloud.

cypress

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-04C38E.svg)](https://www.cypress.io/)

cypress (cypress-io/cypress)

Searching Database…

这是什么?Cypress 是一个 JavaScript/TypeScript 测试框架,适用于任何在浏览器中运行的内容,旨在让端到端测试和组件测试快速、简单且可靠。
它是独立的测试框架,还是只是 Selenium 之类的封装?它是一个自包含的测试框架,自带测试运行器和图形界面,而不是一个轻量的封装库;Cypress 会直接在浏览器中与你的应用一起执行测试代码。
我该如何安装和运行它?安装适用于 Mac、Linux 或 Windows 的版本,然后从那里开始;在 JS/TS 项目中,常见做法是将其添加为 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 中的失败,无需在本地重新运行整个测试套件。
What are similar projects?keploy, playwright, SeleniumBase, e2e, reticle, ava, nx, expect
Creator
cypress-io
Size
567.6 MB
Stars
51K
Age
11y
Commits · 90 Days