Skip to content

Instantly share code, notes, and snippets.

@alainravet
Created September 9, 2011 22:34
Show Gist options
  • Select an option

  • Save alainravet/1207498 to your computer and use it in GitHub Desktop.

Select an option

Save alainravet/1207498 to your computer and use it in GitHub Desktop.
test_parallel_8core_iMac
#!/bin/sh
bundle install | tail -1
rm log/test.lo* 2> /dev/null
rm log/cucumber.lo* 2> /dev/null
echo -----------------------------
echo TEST UNIT ...
echo -----------------------------
time NOTURNHELP=true bundle exec rake parallel:test[7,unit]
echo -----------------------------
echo TEST INTEGRATION ...
echo -----------------------------
time NOTURNHELP=true bundle exec rake parallel:test[7,integration]
echo -----------------------------
echo TEST FUNCTIONAL ...
echo -----------------------------
time NOTURNHELP=true bundle exec rake parallel:test[7,functional]
#
#echo -----------------------------
#echo RSPEC ...
#echo -----------------------------
bundle exec rake parallel:spec[7]
if [ "$CUCUMBER" = "false" ]; then
echo -----------------------
echo skipping cucumber test
echo -----------------------
else
rm rerun.txt
echo -----------------------
echo CUCUMBER ...
echo -----------------------
# bundle exec rake parallel:features[5]
bundle exec rake cucumber
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment