aruba

Testing $HOME with Cucumber and Aruba

Cucumber and Aruba are awesome tools to write acceptance tests for your command line application. The allow you to do things like this: Scenario: Exit with 0 when no examples are run Given a file named "a_no_examples_spec.rb" with: """ruby """ When I run `rspec a_no_examples_spec.rb` Then the exit status should be 0 And the output should contain "0 examples" This example was taken from rspec-core. Aruba basically does three things for you: