Examples on how to run the App and Unit Tests with Docker or Docker-Compose.
Starts the Webserver with the DMN Tester App.
Open http://localhost:8883 in your Browser.
docker run \
--name camunda-dmn-tester \
--rm \
-it \
-e TESTER_CONFIG_PATHS="/dmnConfigs" \
-v $(pwd)/dmns:/opt/docker/dmns \
-v $(pwd)/dmnConfigs:/opt/docker/dmnConfigs \
-p 8883:8883 \
pame/camunda-dmn-tester
docker-compose -f docker-compose-ci.yml --project-directory . -p camunda-dmn-tester-ci up
This creates automatically Unit Tests of your DMN Tests and runs them with sbt
.
In the end you will have the Test Reports (target/test-reports
) you can show, for example in your CI-Tool.
docker run \
--name camunda-dmn-tester-ci \
--rm \
-it \
-e TESTER_CONFIG_PATHS="/dmnConfigs" \
-v $(pwd)/dmnConfigs:/opt/workspace/dmnConfigs \
-v $(pwd)/dmns:/opt/workspace/dmns \
-v $(pwd)/target:/opt/workspace/target \
-v $HOME/.ivy2:/root/.ivy2 \
pame/camunda-dmn-tester-ci
docker-compose -f docker-compose-ci.yml --project-directory . -p camunda-dmn-tester-ci up