Skip to content

Commit f7451e9

Browse files
author
Sandro Santilli
committed
Update after port to mocha
1 parent e4f3a94 commit f7451e9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@ cartodb-sql-api tests
22
---------------------
33
Tests require you create a test database and set some redis keys before,
44
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.
66

77
> cd test && ./prepare_db.sh
88
9+
Note that "make check" from top-level dir will try to do everything
10+
needed to prepare & run the tests.
11+
912

1013
Acceptance tests (need ctrl-C to exit)
1114
--------------------------------------
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
1417
1518

16-
Unit tests (need ctrl-C to exit)
19+
Unit tests
1720
--------------------------------
18-
> expresso test/unit/*.js (or run the tests individually)
21+
> mocha -u tdd test/unit/*.js (or run the tests individually)

0 commit comments

Comments
 (0)