functionbuilder

This commit is contained in:
Nathan Coad
2023-02-10 15:15:53 +11:00
parent 7504ea61e8
commit 329f1e518c
27 changed files with 3343 additions and 0 deletions

13
run-tests.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [[ -z "${DIREKTIV_TEST_URL}" ]]; then
echo "Test URL is not set, setting it to http://localhost:9191"
DIREKTIV_TEST_URL="http://localhost:9191"
fi
if [[ -z "${DIREKTIV_SECRET_export-xlsxSecret}" ]]; then
echo "Secret export-xlsxSecret is required, set it with DIREKTIV_SECRET_export-xlsxSecret"
exit 1
fi
docker run --network=host -v `pwd`/tests/:/tests direktiv/karate java -DtestURL=${DIREKTIV_TEST_URL} -Dlogback.configurationFile=/logging.xml -Dexport-xlsxSecret="${DIREKTIV_SECRET_export-xlsxSecret}" -jar /karate.jar /tests/v1.0/karate.yaml.test.feature ${*:1}