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

# README

Dataset API Tests

Getting started

This package will test all endpoints that exist within the Dataset API when running in publishing subnet.

Services and software

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

mongodb
neo4j
zookeeper
kafka
dp-dataset-api
dp-auth-api-stub (mimics zebedee authentication)

dp-dataset-api should be run with make acceptance-publishing

Note

If an endpoint is only available on publishing, remember to add a test to web/datasetAPI/hidden_endpoints_test.go to check request returns 404 in web subnet

# Functions

ValidPublishedEditionData returns an example bson object for a published edition resource.
ValidPublishedWithUpdatesDatasetData returns an example of a published dataset.
No description provided by the author