A helper for wrapping calls to HTTP APIs during Node/REST API tests.
Want to see pretty graphs? Log in now!
npm install http-test-helper
|10||downloads in the last week|
|12||downloads in the last month|
|Last Published By|
|Version||0.4.0 last updated a month ago|
|Keywords||mocha, chai, http, rest, test, helper|
|Dependencies||q, btoa, fmerge, request|
A collection of helpers that I usually need when doing Node/REST API tests.
Note that this is still very much a work-in-progress, and there are huge holes in the current feature-set.
Wrap request with a few convenience methods:
- It supports both promises and regular callbacks;
- auto-setting basic url
- automatically translating certain types from the server (at least application/json)
- Fully support all http-methods