package
0.0.0-20190513142136-e7e71aebf63e
Repository: https://github.com/onsdigital/dp-api-tests.git
Documentation: pkg.go.dev

# README

Search API Tests

Getting started

This package will test all web endpoints that exist within the Search API

Services and software

The following software needs to be running for acceptance tests to be able to pass:

mongo db
zookeeper
kafka
elasticsearch 5.x
dataset API
search API

If elasticsearch is running on version 6.x then the highlighting tests will fail, as this is a breaking change from elasticsearch version 5 to 6.

Both API's will need to have the following configuration:

export MONGODB_DATABASE=test ENABLE_PRIVATE_ENDPOINTS=false

Or one can run make make acceptance-web