Closed jkerr5 closed 6 years ago
First step is to get REST Assured added to the build. We have a set of JSON requests that can be used to test the adapter HTTP interface so we should start with one or two of those tests.
Feature service API: https://resources.arcgis.com/en/help/rest/apiref/featureserver.html Query API: https://resources.arcgis.com/en/help/rest/apiref/fsquery.html
Tests have been added. Any new tests will be created under a separate issue. Also, tests for classificationDef requests will also be added later.
We need to add tests for all the capabilities supported by the service.
There are multiple layers that we could add tests: 1) The adapter
getData()
function 2) The adapter http interface 3) The koop http interfaceWe have a suite of requests for the adapter http interface or getData() function that we have been using to validate functionality but I left them out of the repo until we decide what tools we want to use for execution of the tests.
The priority would be to add integration tests for that would run through the koop http interface. Consider using Mocha as the testing framework.