]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/README.md
travis: reduce the size of diff download
[nominatim.git] / test / README.md
index ab5f7f4c653ef98cd65c454aa6dccfec43f2ce3e..1f7a33ca47f5b1c5d4ca541a4113ec860733da82 100644 (file)
@@ -46,11 +46,13 @@ Very low coverage.
 To execute the test suite run
 
     cd test/php
-    phpunit ../
+    UNIT_TEST_DSN='pgsql:dbname=nominatim_unit_tests' phpunit ../
 
 It will read phpunit.xml which points to the library, test path, bootstrap
 strip and set other parameters.
 
+It will use (and destroy) a local database 'nominatim_unit_tests'. You can set
+a different connection string with e.g. UNIT_TEST_DSN='pgsql:dbname=foo_unit_tests'.
 
 BDD Functional Tests
 ====================