chakram
chakram copied to clipboard
REST API test framework. BDD and exploits promises
An example: Let `loggedIn` be defined as follows: ``` chakram.addProperty('loggedIn', function(response) { expect(response).to.have.cookie('session'); }); ``` this works as expected (passes when there is a cookie, fails otherwise): `expect(response).to.be.loggedIn;` But when...
I would like to know if it's possible handle requests & responses? For me it's necessary for logging, add headers by default or for logging responses (attributes as url, headers,...
@m1r4ge raised the problem of incorrect highlighting in #6. This should be explored and a suitable issue/pull request raised in the chai subset library
Based on #6, we should warn the user if we detect the use of a chained method in any of the recorded expectations.
I'm getting this error `TypeError: Cannot read property 'statusCode' of undefined` when I use "mocha -w" command. ``` // 1st run Minimal example ✓ should provide a simple async testing...
Would be nice to see all tests of a spec and run specific tests if possible via a UI. Instead of running the complete test/spec js users can select a...