#Usergrid RESTful Integration Tests
These tests will run against a deployed instance of Usergrid and validate that APIs respond as expected. Tests require Node.js, Mocha, and Should.js.
Get Started:
$ [sudo] npm -g install mocha
$ cd
to /integration_tests
and run $ npm install
.config/default.js
as a template, create a copy config/override.js
and modify it according to your environment.$ mocha test
from /integration_tests
to perform tests.Notes:
Guest
POST rights to /**
in the Usergrid authorizations table.apple-dev
using a valid development APNS certificate..skip
to the test method, e.g.: describe.skip()
or it.skip()
.this.timeout(timeInMilliseconds)
and this.slow(timeInMilliseconds)
inside the describe()
method before the tests execute.