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

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -