Simple API Test Interface is an API Test Interface which uses command-line arguments supplied during the execution to perform certain actions.
This interface allows users:
- to create multiple test suites or singular test cases
- execution of all test suites or a single suite
- report generation of the executed suite(s)
The API used in this project is Reqres.in.
Demo/Usage/Installation: https://www.youtube.com/watch?v=4jL9hjtmDRA
Download the package from Github and unzip it.
# Installs dependencies
npm install
# If the above does not work, then
npm install --only=dev
# To view the help message
npm run test help
# To view the list of available suites
npm run test list
# To execute test suite(s)
npm run test users registration
# To generate HTML report
npm run test users report registration