$ npm test
$ mocha -g 'regexp'
see request for more information
$ NODE_DEBUG=request mocha -g 'regexp'
-
Install mocha and instanbul globally
$ npm install mocha -g $ npm install istanbul -g
-
Run
istanbul
$ istanbul cover _mocha -- -R spec
-
Open the coverage results using your browser
$ ./coverage/lcov-report/index.html
Here is the list of things we try to test for each service.
1. parameters not specified
1. parameters mis-named
1. parameters with empty string values
1. parameters specified twice
1. parameters with misformatted values
1. headers not specified
1. authentication missing
1. authentication invalid
1. input too large
1. input too small