Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lynix28/api-cucumberjs-example

API automation testing project using CucumberJS
https://github.com/lynix28/api-cucumberjs-example

api-testing cucumber cucumber-framework cucumber-js cucumberjs

Last synced: 26 days ago
JSON representation

API automation testing project using CucumberJS

Awesome Lists containing this project

README

        

## api-cucumberjs-example

pipeline status

This project is contain API testing using CucumberJS

---

Tools:

- CucumberJS for test framework
- Chai for test assertion
- Supertest for HTTP request module

---

How to setup:

- Clone this repository
- Install the dependencies (Need NodeJS & NPM)

- `npm install`

- Rename the file `env.example` to `.env`

---

How to run:

- For all tests

- `npm run test`

- For specific feature using tags

- `npm run test -- --tags "@post"`

---

Report:

- The file report will be generated in HTML and saved to `reports` directory
- Allure report also will generated, open it using this command `npm run report`