koopjs / koop-provider-marklogic

A Koop Provider that can be used to exposed data in MarkLogic via Esri feature services
https://koopjs.github.io/koop-provider-marklogic/
Other
6 stars 11 forks source link

Feature/unittest #118

Closed BillFarber closed 5 years ago

BillFarber commented 5 years ago

This PR includes a default "unittest" service configuration. It also includes changes to the build files so that a test DB and test REST port are created, and they are used when testEnvironment=true (as is set in gradle-unittest.properties.

I think this makes running the unittests much easier and allows them to be separated from the primary DB and REST port.

Steps to get going are in https://github.com/koopjs/koop-provider-marklogic/wiki/Unit-Tests---Quick-Start and are: ./gradlew -PenvironmentName=unittest mlDeploy ./gradlew -PenvironmentName=unittest installConnector ./gradlew -PfsConfig=test -PenvironmentName=unittest installServices ./gradlew -PenvironmentName=unittest loadExampleData ./gradlew -PenvironmentName=unittest configureKoop runKoop

jkerr5 commented 5 years ago

Closing as OBE. Used as input to restructure on another branch. See #123