This project uses a Vue.js
open source application to write basic unit
, integration
, and e2e
tests in Mocha
and Cypress
. A link to the original repo can be found here.
Please note that some tests use real back end requests. To start the back end server navigate into the server
folder and install all dependencies by running yarn
. Then, run yarn seed
to seed the database and run yarn start
to start the server.
Navigate to client folder
cd client
Install all dependencies
yarn
To run all tests
yarn test
To run e2e tests
cd client && yarn start
yarn e2e
To run unit and integration tests
yarn unit