]> git.openstreetmap.org Git - nominatim.git/blob - tests/features/api/lookup.feature
add mention of required Tiger files for test database
[nominatim.git] / tests / features / api / lookup.feature
1 Feature: Places by osm_type and osm_id Tests
2     Simple tests for internal server errors and response format.
3
4     Scenario: address lookup for existing node, way, relation
5         When looking up xml places N158845944,W72493656,,R62422,X99,N0
6         Then the result is valid xml
7         exactly 3 results are returned
8         When looking up json places N158845944,W72493656,,R62422,X99,N0
9         Then the result is valid json
10         exactly 3 results are returned
11
12     Scenario: address lookup for non-existing or invalid node, way, relation
13         When looking up xml places X99,,N0,nN158845944,ABC,,W9
14         Then the result is valid xml
15         exactly 0 results are returned