2011-10-05 23:49:54 +08:00
|
|
|
cartodb-sql-api tests
|
|
|
|
--
|
|
|
|
|
2012-03-14 18:02:32 +08:00
|
|
|
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
|
2011-10-05 23:49:54 +08:00
|
|
|
|
2011-10-05 23:58:26 +08:00
|
|
|
> cd test && ./prepare_db.sh
|
2011-10-05 23:57:54 +08:00
|
|
|
|
2011-10-05 23:49:54 +08:00
|
|
|
once database is configured, run the tests with expresso:
|
|
|
|
|
|
|
|
> expresso test/acceptance/app.test.js
|