X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/97b892fac224564bc82ec292a1f352204f1b8b3f..8201c7f46cbb253fe5f502bc4c398c5133f01bfe:/test/README.md diff --git a/test/README.md b/test/README.md index ab5f7f4c..1f7a33ca 100644 --- a/test/README.md +++ b/test/README.md @@ -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 ====================