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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -