Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)