X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/932ac23f18110749ca9659a834c20aee8bf828fe..054ea58df11dc3f82563b44d9e1f3a46198b1de7:/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 ====================