Hey everybody
I'm sorry, I know that this question seems to arise every few moments, but I think in my case it's a bit special (but doesn't everybody?).
Well, I'm working with RoR on a private level since v1.0, and my knowledge about both Ruby and Rails are on a basic level (but definitely does exist), but I'm in no means near being an expert yet.
In june, I will start with my first tenure in a company which uses Rails, so I'm on my way to become a pro user, and I'm really, really happy about that (byebye, PHP and Java!). It's sort of a startup company which already is working on a small Rails app since some time, but until now, testing has been neglected a bit. So I decided to become the person responsible for our testing concept, but as I'm coming from cakePHP, I only have experience in plain unit and functional testing using SimpleTest, a quite basic testing framework for PHP. So now I want to dig into more advanced techniques and frameworks for Rails, and obviously there are quite a few of them, so I have to decide which one to use and stick with.
I've come down to two very interesting frameworks: Rspec and Cucumber. Both of them seem to be very world-proven and useful. But now I don't really know for which I should go for our project.
What I'd like to do, is to have a good book about a good BDD-framework, which guides me through the learning process comprehensively, so I become a pro-tester really quick. I found the following two interesting books:
The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends
The Cucumber Book: Behaviour-Driven Development for Testers and Developers
I think I will go for Cucumber, because the book is very current (march 2012) compared to the Rspec book (december 2010). Also, the Cucumber book seems to be more focused on only cucumber, whereas the Rspec book more seems to be like an overview over different testing frameworks (including Cucumber).
So what do you think? Am I on a good way? Or would you guys (who have a lot more experience in testing and the current state of testing frameworks and their corresponding literature) suggest to do something else?
Thanks a lot for your time and your opinion! Josh