May 06, 2009

Cucumber is hot technology at developer event

Tool for behavior-driven development draws crowd at the RailsConf 2009 conference

Belying the old saying "cool as a cucumber," the Cucumber open source behavior-driven development tool is one hot technology.

Several hundred people filled an afternoon session on Cucumber at the RailsConf 2009 conference Tuesday in Las Vegas. With Cucumber, software development teams describe in plain text how software should behave. Text is written in a business-readable, domain-specific language. The text serves as documentation, automated tests, and development aid rolled into one format, according to the Cucumber Web site.

[ The new study shows growth in the software developer population is slowing. | Keep up with app dev issues and trends with InfoWorld's Fatal Exception and Strategic Developer blogs. ]

Cucumber, which has been around for a year, was developed by Oslo, Norway-based Aslak Hellesoy, a consultant at Bekk. In an interview at RailsConf Tuesday evening, Hellesoy explained how behavior-driven development improves upon test-driven development.

"Behavior-driven development is kind of an evolution of test-driven development that brings the customer into the picture," Hellesoy said. "Test-driven development is very developer-centric and very code-centric. Behavior-driven development basically lets the customer write the tests. Cucumber is a tool that lets a customer write tests in plain text, because most customers don't really know how to program.

"You use Cucumber to design how you want your system to behave," he said. For example, the tool could be used to describe the behavior of a billing system. Both developers and customers use the tool.

An audience member, while not currently a Cucumber user, was nonetheless eager to become one. "I think Cucumber shows a lot of promise," said Warren Elliott, a development team leader. Cucumber leverages the concept of an executable specification, enabling developers to work with something more than just a Word document stipulating application requirements, he said.

Cucumber was written in Ruby and has been downloaded 33,000 times. It will work with Ruby, Ruby on Rails, Java, Flex, or Web applications written in any language. It soon will work with .Net technology. The tool is a successor to the RSpec Story Runner Tool, offering more ease of use and better feedback, Hellesoy said. A new release is offered every two weeks.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Development tools

Powered by Twitter

On Twitter now

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.