Nominatim/tests-php
2014-09-23 22:53:20 +02:00
..
Nominatim move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit 2014-09-23 22:53:20 +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 move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit 2014-09-23 22:53:20 +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
$ phpunit

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