Javascript Library to Test API Endpoints -
i looking simple api testing rest api. able keep mocha and/or jasmine asserts structure, while chaining api data, verb etc.
api( '/maker' ) .put( return { name: 'sample 1', type: 'cheese', country: 'united states' } ) .failed() .succussed(). .has( return { assert(1, 1) } );
supertest https://github.com/visionmedia/supertest you're looking for.
Comments
Post a Comment