Created
September 9, 2011 22:34
-
-
Save alainravet/1207498 to your computer and use it in GitHub Desktop.
test_parallel_8core_iMac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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