diff --git a/scripts/sprint1/async_server/run.sh b/scripts/sprint1/async_server/run.sh index 4dcc4af..8262ad0 100755 --- a/scripts/sprint1/async_server/run.sh +++ b/scripts/sprint1/async_server/run.sh @@ -5,5 +5,6 @@ REPO=${PWD} source ${REPO}/.venv/bin/activate export DELIVERY_APP=${REPO}/sprint1/problems/async_server/solution/build/bin/hello_async +export COMMAND_RUN=${DELIVERY_APP} python3 -m pytest --rootdir=${REPO} --verbose --junitxml=results.xml cpp-backend-tests-practicum/tests/test_l03_hello_async.py diff --git a/scripts/sprint1/map_json/run.sh b/scripts/sprint1/map_json/run.sh index cb5e2eb..249690b 100755 --- a/scripts/sprint1/map_json/run.sh +++ b/scripts/sprint1/map_json/run.sh @@ -5,7 +5,7 @@ REPO=${PWD} source ${REPO}/.venv/bin/activate export DELIVERY_APP=${REPO}/sprint1/problems/map_json/solution/build/bin/game_server - export CONFIG_PATH=${REPO}/sprint1/problems/map_json/solution/data/config.json +export COMMAND_RUN="${DELIVERY_APP} ${CONFIG_PATH}" python3 -m pytest --rootdir=${REPO} --verbose --junitxml=results.xml cpp-backend-tests-practicum/tests/test_l04_map_json.py diff --git a/scripts/sprint1/sync_server/run.sh b/scripts/sprint1/sync_server/run.sh index e4dcb7f..fa9dca3 100755 --- a/scripts/sprint1/sync_server/run.sh +++ b/scripts/sprint1/sync_server/run.sh @@ -5,5 +5,6 @@ REPO=${PWD} source ${REPO}/.venv/bin/activate export DELIVERY_APP=${REPO}/sprint1/problems/sync_server/solution/build/bin/hello +export COMMAND_RUN=${DELIVERY_APP} python3 -m pytest --rootdir=${REPO} --verbose --junitxml=results.xml cpp-backend-tests-practicum/tests/test_l02_hello_beast.py