rocky-testapi

test your api request / response

Usage no npm install needed!

<script type="module">
  import rockyTestapi from 'https://cdn.skypack.dev/rocky-testapi';
</script>

README

rocky

node modules for testing an api

What and Who?

Rocky is a simple tool to test your api end-points just pass url, query params and headers and validate the response using Joi

tests

To run tests just run gulp test

how to start

var instance = new Rocky({url: 'http://google.com', headers: {}, queryParams: {}, schema: Joi.schema, .. })
instance.validate();