X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/438ed431ddf59b6f2a17880b43a7450ef184250b..95ed95c616d41975595c97bb1bc87ee7ecff8378:/docs/develop/Testing.md diff --git a/docs/develop/Testing.md b/docs/develop/Testing.md index 6a2becee..20c9d165 100644 --- a/docs/develop/Testing.md +++ b/docs/develop/Testing.md @@ -22,8 +22,8 @@ This test directory is sturctured as follows: | +- php PHP unit tests +- python Python unit tests - +- scenes Geometry test data +- testdb Base data for generating API test database + +- testdata Additional test data used by unit tests ``` ## PHP Unit Tests (`test/php`) @@ -49,8 +49,14 @@ to have complete coverage of the Python library in `nominatim`. To execute the tests run + py.test-3 test/python + +or + pytest test/python +The name of the pytest binary depends on your installation. + ## BDD Functional Tests (`test/bdd`) Functional tests are written as BDD instructions. For more information on