Archive for the 'BDD' Category

3 easy steps to your first Selenium acceptance test.

People keep asking me how to start writing Selenium tests. I’m going to give all my secrets away in this easy 3 step plan.

Begin by recording your high level test with Selenium IDE, convert the result into the language of your choice and put the code in a unit test. Walk through the generated code [...]

Writing Awesomely Readable Tests using Behaviour Driven Development

I’m sold on BDD and have mentioned it a few times and now here I go again. I’ve already told you I’m a fan of ridiculously long test names. When asked why I’m a fan of BDD I’m now going to reply that it’s about awesomely readable tests.

So, BDD is just [...]

Do it: use ridiculously long test method names

At work I’m probably known by a couple people for writing riciculously long test name, so this post by Patrick Lightbody made me smile.

Unfortunately, Dan’s examples of test methods were rather weak - often the agiledox crowd uses really simplistic examples. So I thought I’d give some examples of some of my methods [...]

RSpec for JRuby

RSpec, the Behavior Driven Development(BDD) library for Ruby, has been solidifying on JRuby recently. A post to the mailing list last week pointed out that it’s now passing nearly 100% of its specification (the RSpec term for a test suite). http://www.infoq.com/news/2006/11/RSpecOnJRuby

I mentioned rSpec in Beyond Test Driven Development: Behaviour [...]

Beyond Test Driven Development: Behaviour Driven Development

A friend over at Pivotal sent me a link to this Google Video: Beyond Test Driven Development: Behaviour Driven Development.

This quote sets the tone for this awesome talk:

Everyone’s happy doing TDD… and everyone is getting the maximum benefit right? Bullshit.

Thanks go out to parkert for sending me this link.

Update: [...]