September 2, 2016

What is Cucumber?

Cucumber Introduction:

Before we need to discuss about CUCUMBER, we've to know about BDD.

What is BDD?

Behavior-driven development (BDD) is a software development methodology in which an application is specified and designed by describing how its behavior should appear to an outside observer and is extension of Test Driven Development.
BDD is used to test the system rather than testing the particular piece of code.

Behavior Driven Development is extension of Test Driven Development and it is used to test the system rather than testing the particular piece of code.

What is CUCUMBER?

Cucumber is a tool based on Behavior Driven Development (BDD) framework which is used to write acceptance tests for web application. It allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc.

Cucumber feature files can serve as a good document for all. Initially Cucumber was implemented in Ruby and then extended to Java framework. Both the tools support native JUnit.

Here in this blog, I'm providing some basic information about the Cucumber with Selenium Combination and it supports all the languages supported by Selenium to develope the scripts.

Impotent Information:

Required Jars: These cucmber jar are used to create feature file, interact with the selenium server

  1. Cucumber-Core.jar
  2. Cucumber-html.jar
  3. Cucumber-java.jar
  4. Cucumber-junit.jar
  5. Cucumber-jvm-deps.jar
  6. gherkin.jar
  7. import cucumber.api.junit.Cucumber;

Links:

0 comments:

Post a Comment