Cypress Component Testing Framework
Scaffolds Cypress component tests for React, Vue, and Angular apps using the Cypress CT mount API. Configures webpack/vite dev servers and generates snapshot-based visual assertions.
Prerequisites
Cypress, @cypress/react, @cypress/vue, @cypress/angular, @cypress/webpack-dev-server, @cypress/vite-dev-server
Installation
Use the upstream install or setup path that matches your environment:
- npm install cypress --save-dev
- yarn add cypress --dev
- pnpm add cypress --save-dev
Basic usage or getting-started notes:
bash
or
Extracted from upstream docs: https://raw.githubusercontent.com/cypress-io/cypress/HEAD/README.md