This project is the automation of an API exploratory test performed upon reqres application.
To write these tests, I've used only Cypress.
It is required to have Node.js and npm installed to run this project.
I've used versions
v16.15.0
and8.5.5
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.Important: This project uses Github actions to implement CI. If you want to clone it and run at your own repository, remember to update project's ID at
cypress.config.js
file, and set your CYPRESS_RECORD_KEY at Github secrets, if you ant to set up Cypress Dashboard.
In this project, I'm using OWASP ZAP to perform security verifications. a Github Action was created to trigger it and, like it happens with Cypress Tests, Security tests are called at every commit on master branch.
The results of the last security test run is available here.
cypress/e2e
folder;support
folder;This project was created by Benjamin Pinto.