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 Burnell is a Microsoft web MVP and Senior Software Engineer with Skyline Technologies and president of the Fox Valley .Net User Group. Keith has been developing software for over 10 years specializing in large scale ASP.NET and ASP.NET MVC web site development and architecture
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in any way.