Cucumber (software)
Encyclopedia
Cucumber is a tool for running automated acceptance tests written in a behavior driven development
(BDD) style. Cucumber is written in Ruby programming language
. Cucumber allows the execution of feature documentation written in business-facing text.
The execution of the test implicit in the feature definition above requires the definition, using the Ruby language, of a few "steps":
Popularity
External links
Behavior driven development
Behavior-driven development is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project...
(BDD) style. Cucumber is written in Ruby programming language
Ruby (programming language)
Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. Ruby originated in Japan during the mid-1990s and was first developed and designed by Yukihiro "Matz" Matsumoto...
. Cucumber allows the execution of feature documentation written in business-facing text.
Example
A feature definition, with a single scenario:
Feature: Division
In order to avoid silly mistakes
Cashiers must be able to calculate a fraction
Scenario: Regular numbers
* I have entered 3 into the calculator
* I press divide
* I have entered 2 into the calculator
Result: Should be 1.5 on the screen
The execution of the test implicit in the feature definition above requires the definition, using the Ruby language, of a few "steps":
Popularity
Cucumber has been downloaded over 829,873 times. According to a MashableMashableMashable is an American news website and Internet news blog founded by Pete Cashmore. The website's primary focus is social media news, but also covers news and developments in mobile, entertainment, online video, business, web development, technology, memes and gadgets...
survey, it is the 5th most popular testing framework in use by startupStartup companyA startup company or startup is a company with a limited operating history. These companies, generally newly created, are in a phase of development and research for markets...
companies.
External links
- Cucumber project
- Cucumber (GitHub profile)
- Cucumber (Ruby Gem)
- Cucumber generators and runtime for Rails (Ruby Gem)
- At the Forge - Cucumber, by Reuven M. Lerner in the Linux JournalLinux JournalLinux Journal is a monthly technology magazine published by Belltown Media, Inc. of Houston, Texas. The magazine focuses specifically on Linux, allowing the content to be a highly specialized source of information for open source enthusiasts.-History:...
- Agile 2009 - Aslak Hellesoy - Cucumber test framework, podcast by Bob Payne with Aslak Hellesøy
- Cucumber: The Latest in Ruby Testing, by Mike Gunderloy
- The Secret Ninja Cucumber Scrolls, by Gojko AdzicGojko AdzicGojko Adzic is an agile testing and development proponent, author of several books, coach and mentor.His book, "Specification by Example", presented the idea of moving to 'living documentation' and 'active specification'...
and David de Florinier