I bought this book after having attended the BDD & Agile Testing day at Skills Matter. Matt Wynne did one of the seminars and I got the opportunity to watch him up close, [partially] developing an application using Cucumber test driven development. The workshop should be available here as a podcast.
At the time, it was quite fascinating to watch, though with hindsight it’s clearly a well practiced demonstration and was never likely to run quite as fluidly in reality. Certainly my experience working through the coded examples didn’t run as smoothly as I would have liked. For a kick off, you really do need to be quite fluent with Ruby to be able to keep pace with the steps outlined in the book. I consider myself to be reasonably technical (having some degree of proficiency in Java, C & VBScript), but I still found myself needing to back off from this book for a while until I’ve gotten sufficiently up to speed with Ruby to be able to make the desired level of progress.
I haven’t yet gotten around to digging back in, so for the time being I’ll just state the following:
- I’d suggest that the book’s primary audience is developers in test; i.e. testers that are involved in the implementation of a testing framework and are looking for further information on optimising/streamlining their BDD testing stack.
- As such, it’s not really geared towards beginners, though it might be sufficient if the beginner is reasonably fluent with Ruby to be able to keep pace with the examples.
- If you’re just picking up some Cucumber scripting for the first time and want a better idea of how to actually script BDD tests with a domain specific language, then you’d probably be better off with something that addresses the higher level aspects of Cucumber style Behaviour Driven Development, for which I understand Gojko Adzic’s book Specification by Example is a very good start.
I’ll come back to this post and add further detail at a later date, once my Ruby’s up to scratch!
None of this should be read as an endorsement of the BDD/Cucumber approach to testing by the way. My experience with Cucumber in the wild has been frustrating to say the least (previous post/video refers). I am keen to learn more about the subject however both in general and with particular regards to its implementation. This book seems to go some considerable way towards addressing the latter point.- Simon
P.S If you're interested in learning more about performance testing, checkout my Performance Testing 101 course here.