<div><div>It's probably been over a year since I started cuking, and I've hit (and partly overcome) two blockers so far:</div><div><br></div><div>On the creative level:</div><div><br></div><div>I fiddle around a lot when building, especially in the initial stages. Exploring is *expensive* when you do proper BDD.</div>
<div><br></div><div>Even something seemingly superficial as changing the name of a selector may mean you have to edit a step or two that depend on that selector. More profound changes are even more cumbersome to retrofit in the tests.</div>
<div><br></div><div>The redoubled work load works against the creative impulse: Imagine sketching something and then having to leaf through your book to a different page to update a model every time your sketch took a new, unexpected turn. Not to overdramatize, but this slowly but surely kills the creative process.</div>
<div><br></div><div>So it dawned on me some days ago:</div><div><br></div><div><a href="http://twitter.com/#!/hakanensari/status/25436965531">http://twitter.com/#!/hakanensari/status/25436965531</a></div><div><br></div><div>
I know you could say this would not happen in a larger shop where programmer is not product owner is not front-end guy and designs are well-thought-out in advance and not refactored ad hoc. I hear you.</div><div><br></div>
<div>So that's one. The second blocker is more menial:</div><div><br></div><div>Once your application starts growing out of the classical-Rails-app clothes, it becomes progressively more time-consuming to figure out the tools and steps to even be able to start testing. The primary bad boy I have in mind is JavaScript. Johnson and envjs made my day early this summer when we found out about them, but now, having switched to 1.9.2, I am groping again in the dark until the guys maintaining Johnson catch up.</div>
<div><br></div><div>I was at Joseph's (great) RailsConf talk where he passingly mentioned the honeymoon period of testing with a smile and then moved on to the two-children-and-a-mortgage crisis of how to distribute your cuke horde across multiple Amazon instances to have CI finish in a reasonable amount of time. I just felt I should pitch in to talk about the honeymoon here.</div>
</div><div><br></div>Hakan<br><br><div><a href="http://hakanensari.com" target="_blank">http://hakanensari.com</a><div><br></div></div>