Archive | bdd RSS feed for this section

Cuke4Ninja: The Secret Ninja Cucumber Scrolls | Behaviour Driven Development

This document is a step-by-step guide for Cucumber, a tool that is quickly becoming the weapon of choice for many agile teams when it comes to functional test automation, creating executable specifications and building a living documentation.
(Link: Cuke4Ninja: The Secret Ninja Cucumber Scrolls | Behaviour Driven Development)

Screw.Unit is a BDD Testing Framework for Javascript – GitHub

Screw.Unit is a Behavior-Driven Testing Framework for Javascript. It features nested describes. Its goals are to provide:

a DSL for elegant, readable, organized specs;
an interactive runner that can execute focused specs and describes;
and brief, extensible source-code.
(Link: Screw.Unit is a BDD Testing Framework for Javascript – GitHub)

My top 7 RSpec best practices | Dmytro Shteflyuk's Home

I use RSpec in all my projects. It’s really hard to overemphasize how helpful it is and how much easier becomes your life if you have good specs coverage. But its outstanding flexibility enables many ways to make your specs awful: horribly slow, over-bloated, even non-readable sometimes. I do not want to teach you BDD and RSpec here, but instead I will give you some ideas how to improve your specs quality and increase efficiency of your BDD workflow.
(Link: My top 7 RSpec best practices | Dmytro Shteflyuk’s Home)

Setting up Rspec, Autotest and Growl on Mac OS X

p> We have recently decided to use BDD for our upcoming projects. To make testing more fun and efficient I have hook up Growl with ZenTest’s autotest to display test results from Rspec. Some of the following instructions is taken from http://wincent.com/knowledge-base/Setting_up_autotest_to_use_Growl

What follows are the instructions to install the software to setup your own if you like to try out.
(Link: Setting up Rspec, Autotest and Growl on Mac OS X)

BDD Intro – Powered by Google Docs

Dave Astels – A New Look at Test-Driven Development
(Link: BDD Intro – Powered by Google Docs)

InfoQ: Recommended TDD Tutorials

Recently, Dave Nicolette consolidated a list of recommended TDD tutorials from a discussion on the Extreme Programming group. Here is a sneak peak at the consolidated list with categorization for quickly getting started with Test Driven Development.
(Link: InfoQ: Recommended TDD Tutorials)

Using Cucumber to Integrate Distributed Systems and Test Messaging

One interesting use of Cucumber is to facilitate integration and communication between different systems. At my last job we had several distributed systems that communicated via a messaging broker. It was very important that the messages sent between the different systems be kept in sync and handled appropriately. For example, System A needed to know the exact message format and queue that System B was going to be using, and vice versa. This type of integration between systems is very error prone and when something goes awry the problems can be very hard to track down. In order to ensure both systems were on the same page we used the exact same Cucumber feature in both systems but had the step definitions verify different things on the respective systems. In this post I’ll walk through a quick example illustrating the tools and techniques we used to do this.
(Link: Using Cucumber to Integrate Distributed Systems and Test Messaging)

Railscasts – Beginning with Cucumber (link)

Railscasts – Beginning with Cucumber
Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development.


Follow

Get every new post delivered to your Inbox.