public
Description: A python based twilio call flow emulator
Homepage: http://blogs.blackacid.org/
Clone URL: git://github.com/minddog/twilio-emulator.git
twilio-emulator / run_tests.sh
100755 16 lines (12 sloc) 0.348 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
TWILIO_SRC="/home/minddog/twilio-emulator/"
TWML_EMU="$TWILIO_SRC/twilio-emulator.py"
 
TESTS="multi_number.xml gather.xml pause.xml broken_pause.xml"
 
echo "Running tests..."
 
if [ "$1x" != "x" ]; then
    $TWML_EMU "file://$TWILIO_SRC/tests/$1";
    exit
fi
 
for test in $TESTS; do
    $TWML_EMU "file://$TWILIO_SRC/tests/$test";
done;