Skip to content

Instantly share code, notes, and snippets.

@b-abctech
Created September 29, 2014 07:15
Show Gist options
  • Save b-abctech/e531ca919eda8da0bfb7 to your computer and use it in GitHub Desktop.
Save b-abctech/e531ca919eda8da0bfb7 to your computer and use it in GitHub Desktop.
Running test bash
#!/bin/bash
cd $APPIUM_HOME
node . &> /dev/null &
cd $HOME/Works/Workspaces/mobile-team/startsiden-app/
ti build -p ios -f -b
ti build -p android -f -b
rm -rf test/appium/build/ios/*
rm -rf test/appium/build/android/*
cp -RfX build/iphone/build/Debug-iphonesimulator/* test/appium/build/ios/
cp -RfX build/android/bin/Startsiden.apk test/appium/build/android/
cd test/appium/
mvn clean test -e
killall -9 node &> /dev/null
adb emu kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment