Skip to content

Commit 4d5e986

Browse files
committed
Update test information in readme
1 parent 9229aec commit 4d5e986

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,13 @@ Destroying models may result in errors due to foreign key integrity. First delet
350350

351351
## Running tests
352352

353-
The tests in this repository are mainly integration tests, meaning you will need
354-
to run them using our preconfigured test server.
353+
You will need a postgres database created locally and a user with full read/write access to the database (substitute as required with values appropriate to your setup):
354+
355+
1. `CI=true PGHOST=localhost PGPORT=<pgport> PGDATABASE=<dbname> PGUSER=<username> PGPASSWORD=<password> npm test`
356+
357+
The defaults are:
358+
359+
Host | Port | Database | User | Password
360+
--- | --- | --- | --- | ----
361+
localhost | 5432 | emptytest | test | _none_
355362

356-
1. Ask a core developer for instructions on how to set up test server
357-
credentials on your machine
358-
2. `npm test`

0 commit comments

Comments
 (0)