advantages of Cucumber

Cucumber Behavior Driven Development (BDD), Selenium Functional Testing, Selenium Integration with Selenium WebDriver and Automation Testing Using Cucumber with Selenium.
Post Reply
Posts: 142
Joined: Fri Nov 23, 2018 2:48 am

advantages of Cucumber

Post by AyubHussain » Sat Dec 01, 2018 11:11 am

What is Cucumber and what are the advantages of Cucumber?

Posts: 62
Joined: Fri Nov 23, 2018 2:51 am

Re: advantages of Cucumber

Post by dsusmitha » Sat Dec 01, 2018 11:12 am

To run functional tests written in a plain text Cucumber tool is used. It is written in a Ruby programming language.

Advantages of Cucumber

1.You can inolve business stakeholders who can not code
2.End user experience is priority
3.High code reuse

Posts: 24
Joined: Thu Jan 03, 2019 3:54 am

Re: advantages of Cucumber

Post by satyanarayanareddy » Thu Jan 03, 2019 12:16 pm

A cucumber is a tool based on Behavior Driven Development (BDD) framework which is used to write acceptance tests for the web application. It allows automation of functional validation in an 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. There are many other tools like JBehave which also support BDD framework. Initially, Cucumber was implemented in Ruby and then extended to Java framework. Both the tools support native JUnit.

Behavior Driven Development is an extension of Test Driven Development and it is used to test the system rather than testing the particular piece of code. We will discuss more the BDD and style of writing BDD tests.

Cucumber can be used along with Selenium, Watir, and Capybara etc. Cucumber supports many other languages like Perl, PHP, Python, Net etc. In this tutorial, we will concentrate on Cucumber with Java as a language.

Posts: 24
Joined: Thu Jan 03, 2019 3:54 am

Re: advantages of Cucumber

Post by satyanarayanareddy » Thu Jan 03, 2019 12:20 pm

The benefits are for all the parties involved and the advantages for those are different.

For All:

living documentation
collaboration, early discovery of unknowns
enforce building domain vocabulary and semi-formal language (DSL) to express system behavior consistently within the organization.
For devs:
like TDD, it helps to think in chunks, create nice and testable code.
write code for what is needed only (build the right thing)
better coordination between different dev teams developing similar features with different technologies.
For QA:
ready acceptance criteria
ready building blocks for all kind of tests
test what is exactly need (test the right thing)
For PO:
think and reason features in detail thus produce better specs
better visual and coordination with other Managers and Product owners
better visual and understanding on Devs and QAs output/report due to the same source/format of specs

Posts: 21
Joined: Thu Jan 03, 2019 3:52 am

Re: advantages of Cucumber

Post by chowdarybabu » Fri Jan 04, 2019 7:26 am

Cucumber is a tool that supports Behavior Driven Development (BDD). It offers a way to write tests that anybody can understand, regardless of their technical knowledge.

Advantages of Cucumber:
*It is helpful to involve business stakeholders who can't easily read code
*Cucumber Testing focuses on end-user experience
*Style of writing tests allow for easier reuse of code in the tests
*Quick and easy set up and execution
*Efficient tool for testing

Post Reply

Return to “Selenium Integration with Cucumber”