background preloader

Cucumber

Facebook Twitter

Raineszm / rubypython. Python - GitHub. Home - GitHub. The official Cucumber web site has some more marketing blurbs and CukeTV episodes!

Home - GitHub

Cucumber is a tool that executes plain-text functional descriptions as automated tests. The language that Cucumber understands is called Gherkin. Here is an example: Feature: Search courses Courses should be searchable by topic Search results should provide the course code Scenario: Search by topic Given there are 240 courses which do not have the topic "biology" And there are 2 courses A001, B205 that each have "biology" as one of the topics When I search for "biology" Then I should see the following courses: | Course code | | A001 | | B205 | Cucumber - Making BDD fun.