Thursday, November 17, 2011

Cucumber


  • Cucumber is one of the implementation of Behavior Driven Development.

  • It is a tool that executes plain-text functional descriptions as automated tests.

  • It is Ruby based.

  • In it user describe the behavior of the system with natural language with some specific keywords (Given/And/when/Then).

  • The process start with creating feature files (easy update-able plain-text files explain a feature of the system and some scenario of different test situations).

  • Cucumber doesn't know how to interpret the features by itself.

  • To interpret the features creation of step definition is required which are written in Ruby.

  • Cucumber can also be combined with a web automation framework like WATIR.

  • Cucumber can generate reports in various formats, including HTML, PDF and color text on the screen.

  • The language that Cucumber understands is called Gherkin.

No comments:

Post a Comment

Search This Blog