# Friday, 13 August 2010

In doing some research I found that it is possible to do Rails type BDD/testing in WPF using IronRuby.  I am very excited about this and will be doing an in-depth post on this in the very near future.  But, for now I wanted to get a post out on how to get Cucumber up and running in IronRuby because in attempting to do this myself I ran into an issue that turns out is fairly well-known but as far as I can tell is not documented.  I would like to thank Nathaniel Ritmeyer, aka NatOnTesting, for helping me through this and take a look at his Bewildr gem…it will be a key piece of my future post.

Here are the steps for getting Cucumber up and running with IronRuby:

  1. Install Ruby (to save headaches install to c:\ruby and make sure “c:\ruby\bin” is in your Path environment variable)
  2. Install IronRuby (to save headaches install to c:\ironruby and make sure “c:\ironruby\bin” is in your Path environment variable)
  3. Install Cucumber (here is the undocumented part…until now)
    1. Because Gherkin is required by Cucumber version > 0.6.3 and Gherkin is not compatible with IronRuby we need to install Cucumber version <= 0.6.3.
    2. image
  4. Next you need to create a Cucumber wrapper script for IronRuby
    1. Go to c:\ruby\bin
    2. Create a blank text file “icucumber.bat”
    3. Open icucumber.bat in text editor
    4. Enter this text
      1. @ECHO OFF
        SET GEM_PATH=c:\ruby\lib\ruby\gems\1.9.1
        @"C:\IronRuby\bin\ir.exe" "c:\Ruby\bin\cucumber" %*

    5. Save the file
  5. Test it (results are truncated)

    image

That’s it.  You now have Cucumber running with IronRuby.  Why is this helpful?  Stay Tuned!

Monday, 03 January 2011 19:31:29 (Central Standard Time, UTC-06:00)
While accepting an interview, for can ascend Yang to see spring for night, Guo De Gang shows unintentionally one silk regrettable, "did not be subjected to invitation up to now, but often was asked us to want not to think up, go together all answered for us, say our NBA Jerseys affirmation Buy Christian Louboutin not come, also not know why they say so.In fact we all NHL Jerseys looking at spring to late grow up of, certainly all want up to play."In addition, he said and just knew at present that the spring reviewing system late is thus strict, a lot of programs all have already led Balmain several rounds and examine.Obviously he late once did to just some little make great effort to the rabbit year spring.When reporter asked him to have to once prepare spring to late perform a contents, Guo De Gang said:"When president of time also ask me to have preparation, do you say?Is blind to prepare."There are medium cross-examining later on, whether would like to with Kun partner, Guo De Gang Tiffany Jewelry also means would like to.<br>

Small<br>(Responsibility editor:Week path 偲 )<br>Cause trouble driver 7 days ago just got hold of drive shine on<br>This report A8 versionses reported 4:40 p.m. on the 23th yesterday and took place in Nanking City and stayed Xia area for sky Hong country villa east door outside of a traffic accident, lost control a sedan to connect 7 strangers of bumping the buses like wayside,etc, it are the kids who just released from school to have 6 people among them, this matter aroused citizen strong concern.<br>"Connect the sedan driver of bumping 7 people to drink?He can,t be the second of Zhang Ming Bao?"The citizen guess in succession.Yesterday morning, caused trouble driver for the sake of the solution whether is true such as what citizen query so, reporter is contacting be handling Nanking City of the trouble to hand over Jing seven greatest brigades to handle a case a personnel.They tell a reporter, can affirm ground to say, the matter hair passes to analyze to the cause driver blood after, already expel to drive a small wine behind drive.As for have an accident Leather Belts reason, handle a case people Jing to say, this possibility and young man drive an age too short, processing sudden circumstance experience shortage relevant, because from cause trouble driver the king somely drive to shine on to up see, he just got hold of to drive to shine on on December 17, from take to drive to shine on that day calculate rise, driving of small age should dissatisfied[one] week time.<br>
fdsa
Thursday, 13 January 2011 00:38:03 (Central Standard Time, UTC-06:00)
Giving someone all your love cheap ugg boots sale is never an assurance that they will love discount ugg boots you back! Do not wait for love in return,just wait for cheap ugg boots it to grow in their ugg boots heart but if does not,be content it grows in ugg boots sale yours.It takes only a minute to get a crush on someone,but it takes a http://www.goodfurboots.com/ lifetime to forget someone.
Friday, 14 January 2011 03:25:28 (Central Standard Time, UTC-06:00)
"Almost every young people have one or more NBA jerseys. It is not only a way to show the pride for the favorite teams, but also comfortable when you are exercising. <a href=”http://www.lovejerseys.com ”
title=”Discount NHL jerseys”>Discount NHL jerseys</a> are the best choice for wearing in summers. The authentic jerseys are so expensive that not any average football fan can afford. Then, you can get it online for bargain. "
Friday, 21 January 2011 00:01:27 (Central Standard Time, UTC-06:00)
"Relish the moment " is a good Red Bull Hats motto,
especially when coupled with New York Yankees Hats Psalm
118:24:"Thisis the day which the Lord Monster Energy Hats hath
made;we will rejoice and be glad in it. " It isn't the burdens of today that drive men mad. It is the regrets over yesterday and the
fear of tomorrow. Regret new era hats and fear are twin thieves who rob us of today.

Monday, 24 January 2011 00:15:01 (Central Standard Time, UTC-06:00)
Wednesday, 23 February 2011 01:45:45 (Central Standard Time, UTC-06:00)
Ruby isn´t needed at all. Just use IronRuby´s "igem" to install Cucumber, and everything is working fine.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview