Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lynix28/api-cucumberjs-example
- Owner: lynix28
- Created: 2023-08-07T10:33:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-31T16:01:50.000Z (over 1 year ago)
- Last Synced: 2023-09-01T09:21:29.202Z (over 1 year ago)
- Topics: api-testing, cucumber, cucumber-framework, cucumber-js, cucumberjs
- Language: JavaScript
- Homepage:
- Size: 620 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## api-cucumberjs-example
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`