Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 881 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 881 Bytes

Geocoder acceptance tests CircleCI

Proof-of-concept for creating a baseline set of tests for the geocoder that can be run as smoke tests in the geocoder build pipeline, using https://github.com/pelias/fuzzy-tester to run test cases.

Usage:

yarn
yarn run dev|staging|production

Or inside docker:

docker build -t geocoder-acceptance-tests .
docker run geocoder-acceptance-tests dev|staging|production

Run as kubernetes job:

kubectl apply -f job.yaml

Test cases should live in test_cases folder. There is a sample file there now. We should refere to the following guide for writing tests: https://github.com/pelias/acceptance-tests/wiki/Guide-to-writing-solid-tests.