.. | ||
acceptance | ||
oauth | ||
unit | ||
helper.js | ||
prepare_db.sh | ||
README.md | ||
test.sql |
cartodb-sql-api tests
Tests require you create a test database and set some redis keys before, you can execute prepare_db.sh script, it will create database, users and redis stuff for you. Be sure postgres and redis are running
cd test && ./prepare_db.sh
once database is configured, run the tests with expresso:
expresso test/acceptance/app.test.js