Nietzsche's Preposterous Moustache
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@cypress/core-reporter

0.3.4 • Public • Published

Cypress Core Reporter

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

Installation

npm install @cypress/core-reporter --save

Usage

import Reporter from 'reporter'
 
<Reporter
  runner={/* event emitter */}
  specPath={/* path to spec file */}
/>

Development

## Install project dependencies 
npm install
## Watches all project files 
## - runs *.js and *.jsx through babel and outputs individually to dist 
## - runs associated unit test of file saved and outputs to terminal 
## - compiles *.scss files to single reporter.css in dist 
npm start
## Runs all tests 
npm test

Changelog

0.3.4 - (03/07/17)

  • enable error messages to be copyable

0.3.3 - (02/05/17)

  • display spy / stub aliases

0.3.2 - (11/29/16)

  • display errors passed in

0.3.1 - (10/13/16)

  • ensure command.renderProps is an object

0.3.0 - (10/03/16)

  • snapshot pinning

0.2.0 - (09/23/16)

  • handle being resized to any width
  • fix issues with scrolling cutting off commands

0.1.7 - (09/13/16)

  • ensure direct dependencies get installed

0.1.6 - (09/07/16)

  • cleanup npm dist

0.1.5 - (08/30/16)

  • bump node, guard against logs which cannot be found

0.1.4 - (08/26/16)

  • minify prod css

0.1.3 - (08/26/16)

  • get font-awesome from npm instead of bower

0.1.0 - (08/23/16)

  • initial release

Keywords

none

Install

npm i @cypress/core-reporter

DownloadsWeekly Downloads

0

Version

0.3.4

License

MIT

Last publish

Collaborators