Tue, 04 May 2010

Cucumber? I Don't Need No Stinking Cucumber!

For the past month or so I haven’t been doing any coding at home because I did not have a internet connection. But now I have a connection again, so I am back on the coding band wagon.

And with that has come a slight change in the testing tools I am using. I have decided that cucumber, while great, adds a layer of complexity that is not needed when not working with non developers.

So I have gone with Bacon , Capybara + Rack-test . There are a couple more things, like the machinist for factories, but basically that is it.

I find this set up very simple and complete to work with, and without the extra feature files that I was having to write with cucumber, it means that it is likely to that I will code more.

As a side note, I know there is this new testing tool called steak that does sort of the same thing that I have set up here. But it uses  rspec, and while I like the idea of rspec, I do not like all the black magic they use to get it to work. So no steak for me.

I prefer chicken anyway!

Published By: Philip MacIver
blog comments powered by Disqus