File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,20 @@ cartodb-sql-api tests
2
2
---------------------
3
3
Tests require you create a test database and set some redis keys before,
4
4
you can execute prepare_db.sh script, it will create database, users
5
- and redis stuff for you. Be sure postgres and redis are running
5
+ and redis stuff for you. Be sure postgres and redis are running.
6
6
7
7
> cd test && ./prepare_db.sh
8
8
9
+ Note that "make check" from top-level dir will try to do everything
10
+ needed to prepare & run the tests.
11
+
9
12
10
13
Acceptance tests (need ctrl-C to exit)
11
14
--------------------------------------
12
- > expresso test/acceptance/app.test.js
13
- > expresso test/acceptance/app.auth.test.js
15
+ > mocha -u tdd test/acceptance/app.test.js
16
+ > mocha -u tdd test/acceptance/app.auth.test.js
14
17
15
18
16
- Unit tests (need ctrl-C to exit)
19
+ Unit tests
17
20
--------------------------------
18
- > expresso test/unit/* .js (or run the tests individually)
21
+ > mocha -u tdd test/unit/* .js (or run the tests individually)
You can’t perform that action at this time.
0 commit comments