Cypress is an open source testing tool.
Run yarn install
in this directory to install dependencies.
The scripts
section of package.json
defines the following scripts:
-
start
- a wrapper to
scripts/dev.sh local
, which runs the application locally. Note that thelocal
option for this script requires valid AWS credentials set per the Serverless Framework docs
- a wrapper to
-
test
- runs two parallel processes:
- the
start
script cypress run
, which opens Cypress using Chrome against the local app. The exit code of this process determines the exit code of the script.
- the
- runs two parallel processes:
-
cypress
- opens the Cypress App
cypress.json
may use any of these config options.
The cypress cli comes with a number of options/flags/behaviors built into it, which allow it to target browsers, configure parallelization, and so on.