---

Cucumber Makes Behavior-Driven Ruby on Rails Development Cool

“This article introduces the Cucumber framework, a tool for
implementing the Behavior-Driven Development (BDD) methodology. The
idea behind BDD is simple: everyone should understand the system
features. Cucumber promotes this idea by enabling the features of a
system to be written in the native language of the program as
either specs or functional tests.

“Although both are Ruby-based BDD frameworks, Cucumber is not a
replacement for the popular RSpec framework; they work in
conjunction with each other. The major difference between the two
lies in the nature of their testing approaches. Cucumber is a
high-level testing tool that defines the feature specs, while RSpec
is a low-level testing tool that checks for data consistency and
application flow.

“Although this article is written in the context of Rails,
Cucumber has wide applications in other technologies too, from .NET
to the iPhone.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis