dataservices-api/test
Rafa de la Torre e822321306 Make test_if_obs_search_is_ok more robust #207
Make the test_if_obs_search_is_ok a bit more robust by narrowing the
query to exactly what is expected, as suggested by talos.
2016-06-21 17:16:39 +02:00
..
fixtures Fixed geocode street point integration tests 2016-01-25 18:48:27 +01:00
helpers Added isolines integration tests 2016-02-24 09:54:00 +01:00
integration Make test_if_obs_search_is_ok more robust #207 2016-06-21 17:16:39 +02:00
__init__.py Created helper to be used in all the tests 2015-12-06 13:10:54 +01:00
README.md Added street geocoder functions to integration tests 2016-01-25 11:00:42 +01:00
run_tests.py Check for a properly exit if the tests failed 2015-12-09 13:13:24 +01:00

Geocoder API integration tests

This are the automatic integration tests for geocoder api (both client and server)

Usage

In order to execute the tests you have to execute the run_tests python script:

python run_tests.py [--host=cartodb.com] username api_key

You can define the host where is going to execute the SQL API queries to test the geocoder API. By default the value is cartodb.com but you can put the host you need.

Tests

This suite of tests test the following parts of the geocoding API through the SQL API:

  • Admin 0 functions
  • Admin 1 functions
  • Named places functions
  • Postal code functions
  • Ip address functions
  • Street address functions (This will call Heremaps or Google so it will cost you 2 credits)