See https://github.com/makandra/geordi/ for the current state of these scripts.
geordi Show archive.org snapshot , our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber:
This script runs Cucumber the way you want it:
Gemfile
bundle exec
parallel_tests
gem was found in you Gemfile
and no rerun.txt with content existscuc
script even if the tests are executed with parallel_tests.Example usage:
cuc # runs all features
cuc features/users.feature # only run one feature
cuc -f pretty -t wip features/users.feature # run one feature with parameters like cucumber
This script runs RSpec the way you want it:
spec
) in a Rails 2 project and RSpec 2 (rspec
) in a Rails 3 projectGemfile
spec
if you don't give an argumentbundle exec
parallel_tests
gem was found in you Gemfile
Example usage:
rs # runs all examples
rs spec/models/user_spec.rb # only runs one example
This runs all your tests for a full check against regressions:
rerun.txt
from earlier Cucumber failuresrs
cuc
if rs
succeedsYou can install all the scripts in the geordi toolbox by saying
gem install geordi