Turns a Postman collection into a stub server. WARNING This is a work in progress; use at your own risk.
The only supported functionality is binding the path to either PUT/GET/DELETE/POST method and returning 200. More to follow.
The aim to to be able to take any Postman collection, generate a stub server from that collection, use that collection to run tests against the stub and get them to pass.
Install the module with: npm install stubman
Run Stubman with a collection. With the -c flag you can run any collection file lying on your file-system. Refer the collection documentation to learn how to use and download collections.
$ stubman -c mycollection.json(Coming soon)
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
(Nothing yet)
Copyright (c) 2014 Paul Doran
Licensed under the MIT license.