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.
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*`.