Nominatim/tests-php
2016-06-08 22:51:56 +02:00
..
Nominatim fix cut&paste error in php tests 2016-06-08 22:51:56 +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 more tests for libphp - incorporate lonvias feedback 2015-10-15 02:28:16 +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.