CartoDB-SQL-API/test/README.md

19 lines
502 B
Markdown
Raw Normal View History

2011-10-05 23:49:54 +08:00
cartodb-sql-api tests
2012-06-02 03:46:38 +08:00
---------------------
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:49:54 +08:00
2012-06-02 03:46:38 +08:00
Acceptance tests (need ctrl-C to exit)
--------------------------------------
2011-10-05 23:49:54 +08:00
> expresso test/acceptance/app.test.js
2012-06-02 03:46:38 +08:00
> expresso test/acceptance/app.auth.test.js
Unit tests
----------
> expresso test/unit/psql.tests.js