X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/de0ad657ba91d821b1a5777dbfbbb0764e6d67ac..f4e958a66d213d0263b560cc2e3037c1a415d2b3:/test/README.md?ds=sidebyside diff --git a/test/README.md b/test/README.md index 374a3dfa..f6112620 100644 --- a/test/README.md +++ b/test/README.md @@ -45,8 +45,8 @@ Very low coverage. To execute the test suite run - cd test/php - phpunit ../ + cd test/php + phpunit ../ It will read phpunit.xml which points to the library, test path, bootstrap strip and set other parameters. @@ -99,7 +99,10 @@ be documented. These tests are meant to test the different API endpoints and their parameters. They require a preimported test database, which consists of the import of a -planet extract. The polygons defining the extract can be found in the test/testdb +planet extract. A precompiled PBF with the necessary data can be downloaded from +http://www.nominatim.org/data/test/nominatim-api-testdata.pbf + +The polygons defining the extract can be found in the test/testdb directory. There is also a reduced set of wikipedia data for this extract, which you need to import as well. For Tiger tests the data of South Dakota is required. Get the Tiger files `46*`.