I got Cucumber to use a C# dll. I had to explicitly compile the dll since
compile.dll was giving some errors. Here is the result:

C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>icucumber
features
Feature: Addition
  In order to avoid silly mistakes
  As a math idiot
  I want to be told the sum of two numbers

  Scenario Outline: Add two numbers←[90m                    #
features/addition.
feature:6←[0m
    ←[36mGiven I have entered <input_1> into the calculator←[90m #
features/step
_definitons/calculator_steps.rb:9←[0m←[0m
    ←[36mAnd I have entered <input_2> into the calculator←[90m   #
features/step
_definitons/calculator_steps.rb:9←[0m←[0m
    ←[36mWhen I press add←[90m                                   #
features/step
_definitons/calculator_steps.rb:13←[0m←[0m
    ←[36mThen the result should be <output> on the screen←[90m   #
features/step
_definitons/calculator_steps.rb:17←[0m←[0m

    Examples:
      | ←[36m←[1minput_1←[0m←[0m←[36m←[0m |←[0m
←[36m←[1minput_2←[0m←[0m←[36m←[0
m |←[0m ←[36m←[1moutput←[0m←[0m←[36m←[0m |←[0m
      | ←[32m20     ←[0m←[0m |←[0m ←[32m30     ←[0m←[0m |←[0m ←[32m50
 ←[0m←[0
m |←[0m
      | ←[32m2      ←[0m←[0m |←[0m ←[32m5      ←[0m←[0m |←[0m ←[32m7
←[0m←[0
m |←[0m
      | ←[32m0      ←[0m←[0m |←[0m ←[32m40     ←[0m←[0m |←[0m ←[32m40
 ←[0m←[0
m |←[0m

3 scenarios (←[32m3 passed←[0m)
12 steps (←[32m12 passed←[0m)
0m0.506s

C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs>

Not sure what is all the information but looks like it ran!

-- 
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to