ciao
ciao copied to clipboard
Ciao is a simple command line utility for testing http(s) requests and generating API documentation
Allow throttling of the request concurrency to limit the amount of tests running in parallel.
``` /home/fab/projects/ciao-bizzby/lib/Reporter.coffee:86 r = data.request; ^ TypeError: Cannot read property 'request' of undefined at StandardReporter.log (/home/fab/projects/ciao-bizzby/lib/Reporter.coffee:86:15) at StandardReporter.log (/home/fab/projects/ciao-bizzby/lib/Reporter.coffee:3:61) at Runner. (/home/fab/projects/ciao-bizzby/lib/Reporter.coffee:50:24) at Runner.emit (events.js:106:17) at Runner.complete (/home/fab/projects/ciao-bizzby/lib/Runner.coffee:35:21) at Request....
tests failing on `0.10`. likely an easy fix as per: http://stackoverflow.com/questions/21992657/node-js-spawned-process-is-generating-error-execvp-no-such-file-or-directo
consider this example ``` CoffeeScript #? check 1 should.exist json.body #? check2 json.body.user.mobile_number.should.equal '+447868493599' ``` returns ``` bash ✘ check 1 Cannot read property 'should' of undefined ``` it should...
On slow connections the socket can hangup. The following happened in the car, on 3g. ``` events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError...
If this module is included anywhere in a module tree that already includes `coffee-script` then [the assumption](https://github.com/missinglink/ciao/blob/9ad8e64dfa3e4aea6b27f8b10f702c13e4be3d87/lib/RequestChain.coffee#L56) that the coffee script binary will be inside ciao's `node_modules` folder will probably...
Support for train tunnels and poor internet access. Catch DNS resolution errors: ``` javascript events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND at errnoException (dns.js:37:11) at Object.onanswer...
Some times I get this error, I guess it is related to a timeout ``` bash /usr/local/lib/node_modules/ciao/lib/RequestChain.coffee:105 throw e; ^ SyntaxError: Unexpected end of input at Object.parse (native) at Process....
W3C HTML validation could be useful
Allow developers to write tests in js and other languages that trans compile to js. Provide documentation.