mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-21 14:40:05 -05:00
Reporter
The reporter shows the running results of the tests. It includes the following:
- A button to focus the list of test files
- Stats for number of tests passed, failed, and pending
- The total test run duration
- Control for toggling auto-scrolling
- Controls for various states (running, paused, stopped, etc.)
- A command log, showing:
- suites
- tests
- hooks
- commands and assertions with detailed information
- any failures/errors
- Toggle-able auto-scrolling of command log
Install
The reporters's dependencies can be installed with:
cd packages/reporter
npm install
Development
Watching
- Runs
*.jsand*.jsxthrough babel and bundles with browserify into singledist/reporter.js - Runs associated unit test of file saved and outputs to terminal
- Compiles
*.scssfiles to singledist/reporter.css
npm run watch
One Time Building
For development
npm run build-dev
For production
npm run build-prod
Testing
npm test
