This project uses Cypress to automate API tests upon deckofcardsapi.com application.
This project is integrated with GitHub Actions to automate a simple CI workflow, and with GitHub Pages, to publish the last test results report.
The last report is available at project's GH Page.
It is required to have Node.js and npm installed to run this project.
I've used versions
v16.16.0
and8.11.0
of Node.js and npm, respectively. I recommend you to use the same or later versions.
Run npm install
(or npm i
for the short version) to install the dev dependencies.
Run npm test
(or npm t
for the short version) to run the test in headless mode.
Or, run npm run cy:open
to open Cypress in interactive mode.
Note: This project doesn't handle sensible data to perform tests (tokens/passwords/etc), so I didn't used a
cypress.env.json
file.
- Spec files are localized at
cypress/e2e
folder; - Controllers files are organized at
support/controllers
folder;
This project was created by Benjamin Pinto.