Created
May 28, 2019 14:34
-
-
Save zdennis/ea4bd6f53a1fcdf1200186eecf5f46ef to your computer and use it in GitHub Desktop.
Run Ralis 3 specs individually
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
#!/usr/bin/env bash | |
>passed.txt | |
>failed.txt | |
for file in `find spec -name '*_spec.rb'` ; do | |
script/rails3 rspec --default-path spec_rails_3 $file | |
if [ $? -eq 0 ]; then | |
echo $file >> passed.txt | |
else | |
echo $file >> failed.txt | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment