Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rathorsunpreet/simpleapitest
API Test of online API reqres.in using Mocha, Chai and Supertest
https://github.com/rathorsunpreet/simpleapitest
api-test api-testing api-tests chai javascript mocha mocha-chai mocha-js mocha-testing mocha-tests mochajs mochawesome mochawesome-report supertest supertest-mocha-chai
Last synced: 1 day ago
JSON representation
API Test of online API reqres.in using Mocha, Chai and Supertest
- Host: GitHub
- URL: https://github.com/rathorsunpreet/simpleapitest
- Owner: rathorsunpreet
- License: isc
- Created: 2023-06-13T15:36:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-27T18:58:50.000Z (about 1 month ago)
- Last Synced: 2024-11-27T19:49:46.456Z (about 1 month ago)
- Topics: api-test, api-testing, api-tests, chai, javascript, mocha, mocha-chai, mocha-js, mocha-testing, mocha-tests, mochajs, mochawesome, mochawesome-report, supertest, supertest-mocha-chai
- Language: JavaScript
- Homepage:
- Size: 6.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Simple API Test
Simple API Test is an API Test of the online REST API [reqres.in](https://reqres.in).
## Installation
Download the package from [Github](https://github.com/rathorsunpreet/SimpleAPITest) and unzip it.
```console
# Installs dependencies
npm install# If the above does not work, then
npm install --only=dev
```## Usage
```
# This executes the test cases and all results are displayed in CLI.
npm run test# This performs the same functions as the above command but
# also generates a web report in the folder "Web_Report" at
# the root of the project.
npm run report```
## License
[ISC](https://choosealicense.com/licenses/isc/)