crb

An irb console for cucumber world

Usage

Use 'crb' command as same as 'cucumber' command
% crb (... cucumber options ...)

And then you are in cucumber world via irb

Example

% vi features/steps/example_step.rb
Given /^x$/ do
  p "'Given x' is called"
end

% crb features
irb(CRB):001:0> Given 'x'
"'Given x' is called"
=> nil
irb(CRB):002:0> Given 'y'
Cucumber::Undefined: Undefined step: "y"
        from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/step_mother.rb:220:in `step_match'
        from /usr/lib/ruby/gems/1.8/gems/cucumber-0.3.9/lib/cucumber/world.rb:15:in `Given'

Author

maiha@wota.jp