Nominatim/tests-php
2015-07-09 03:43:59 +02:00
..
Nominatim assume PHP test suite is run from the tests-php directory. Matches documentation in VAGRANT.md 2015-07-09 03:43:59 +02:00
bootstrap.php move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit 2014-09-23 22:53:20 +02:00
README.txt assume PHP test suite is run from the tests-php directory. Matches documentation in VAGRANT.md 2015-07-09 03:43:59 +02:00

Basic unit tests of PHP code. Very low coverage. Doesn't cover interaction
with the webserver/HTTP or database (yet).

You need to have
https://phpunit.de/manual/4.2/en/
installed.

To execute the test suite run
$ cd tests-php
$ phpunit

It will read phpunit.xml which points to the library, test path, bootstrap
strip and set other parameters.