add hurl tests for currency exchange demo

This commit is contained in:
Adil Hafeez 2025-03-17 14:05:01 -07:00
parent 5526314b3c
commit 6e50f982c3
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 47 additions and 4 deletions

View file

@ -8,11 +8,13 @@ do
echo "Running tests for $demo ..."
echo "****************************************"
cd ../../samples_python/$demo
echo "starting archgw"
archgw up arch_config.yaml
docker compose up -d
cd ../../shared/test_runner
TEST_DATA=../../samples_python/$demo/test_data.yaml poetry run pytest
cd ../../samples_python/$demo
echo "starting docker containers"
docker compose up -d 2>&1 > /dev/null
echo "starting hurl tests"
hurl --test hurl_tests/*.hurl
echo "stopping docker containers and archgw"
archgw down
docker compose down -v
cd ../../shared/test_runner