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 clientInstall all dependencies
yarnTo run all tests
yarn testTo run e2e tests
cd client && yarn startyarn e2eTo run unit and integration tests
yarn unit