BDD API test automation using Cucumber & Supertest API library
- Cucumber v8
- Supertest
- Node version 16, execute
npm install -g [email protected]
- NPM version 6, execute
npm -g install npm@6
- API test automation
- Contains sample test scenarios in cucumber
- Cucumber json/html reports
Follow the below commands
-
Clone the project -
https://github.com/javicoin/cucumber-supertest-api.git
. -
Install dependencies using
npm i
in the terminal. -
Execute any of the scripts to run the tests
smoke
,regression
, etc.