mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-02 13:00:18 -05:00
9a2f988ea9
* chore(deps): update dependency classnames to v2.5.1 * caret dep --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
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
Building
For development
yarn workspace @packages/reporter build
For production
yarn workspace @packages/reporter build-prod
Developing
To see the reporter render, see Developing the driver.
Watching
- Runs
*.jsand*.jsxthrough babel and bundles with browserify into singledist/reporter.js - Compiles
*.scssfiles to singledist/reporter.css
yarn workspace @packages/reporter watch
Testing
Run Cypress tests found in cypress/integration.
yarn workspace @packages/reporter cypress:open
You'll want to run yarn workspace @packages/reporter watch to iterate on the reporter under test while testing.
You'll want to run yarn workspace @packages/runner watch to get changes to the main Cypress reporter while testing.
