Ioke

aslakhellesoy edited this page May 25, 2011 · 3 revisions

So you’re a language geek? Great. Just go ahead and write your Ioke app with Ioke Step Definitions:

When(#/^I press ({btn}\w+)$/,
  Calculator calculate(
    case(btn,
      "divide", :/,
      "add", :+
      )))

Just place your Ioke Step Definitions under features/step_definitions and Cuke4Duke will pick them up automatically. See the Ioke example project for a full example.