cucumber-js-rest-api
cucumber-js-rest-api copied to clipboard
Cucumber.js + Request = Well tested REST APIs
A little demo for testing REST APIs with Cucumber.js and Request.
Soon to be featured in a blog post at https://blog.codecentric.de/en.
The features test GitHub's REST API.
Setup
-
git clone https://github.com/basti1302/cucumber-js-rest-api.git
-
npm install -g cucumber@~0.3.1
- `npm install -g grunt-cli
-
npm install
-
cucumber.js
to run tests
You can also do grunt watch
to let the tests re-run automatically when a
relevant file changes.