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:
@ECHO OFFSET GEM_PATH=c:\ruby\lib\ruby\gems\1.9.1@"C:\IronRuby\bin\ir.exe" "c:\Ruby\bin\cucumber" %*
That’s it. You now have Cucumber running with IronRuby. Why is this helpful? Stay Tuned!
Keith is a Senior Software Engineer with Falafel Software. He has been developing software since 1999 specializing in web-based solutions primarily using the Microsoft stack. He has been a Microsoft MVP in ASP.NET since 2012.
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in any way.