sails-generate-api-test

0.10.4 • Public • Published

sails-generate-api-test

An api-test generator for use with the Sails command-line interface, using chai and supertest. An easy way to strap up API acceptance tests.

Certain generators are installed by default in Sails, but they can be overridden. Other generators create entirely new things. Check the Sails docs for information on installing generator overrides / custom generators and information on building your own generators.

Installation

$ npm install sails-generate-api-test

Usage

On the command line
$ sails generate api-test [modelName]

Development

To get started quickly and see this generator in action, ...

Also see CONTRIBUTING.md for more information on overriding/enhancing existing generators.

Questions?

See FAQ.md.

More Resources

License

MIT © 2015 balderdashy & contributors

As for Sails? It's free and open-source under the MIT License.

image_squidhome@2x.png

Package Sidebar

Install

npm i sails-generate-api-test

Weekly Downloads

0

Version

0.10.4

License

MIT

Last publish

Collaborators

  • tbarho