Adds convenience script for running integration tests.
This commit is contained in:
parent
7ab278d098
commit
1bd281f2a2
21
apps/cic-ussd/tests/integration/run.sh
Normal file
21
apps/cic-ussd/tests/integration/run.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$TEST_SERVER_URL" ];
|
||||||
|
then
|
||||||
|
echo "The test server url is not set !"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$TEST_GIFT_VALUE" ];
|
||||||
|
then
|
||||||
|
echo "The test gift value is not set !"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$TEST_TOKEN_SYMBOL" ];
|
||||||
|
then
|
||||||
|
echo "The test token symbol is not set !"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
PYTHONPATH=. tavern-ci test_accounts.tavern.yaml --debug -vv --log-level debug -s --log-cli-level debug
|
Loading…
Reference in New Issue
Block a user