Cucumber is a framework or not ?
- Testing acharya
- Jul 3, 2021
- 1 min read
Updated: Jul 8, 2021
To answer this question , first of all we should know about the background of cucumber. So, lets get started.
Cucumber is an open-source tool. It allows writing test in a human-readable language. It explains the behaviour of the application using Gherkin language.
It is a way of testing that supports Behaviour Driven Development(BDD).

Cucumber acts as bridge between business stakeholders and technical persons .This is because of the following below points :
It involves business stakeholders who can easily read the code.
It focuses to an end-user experience.
Reusabilitiy of code in the test as simple test script architecture.
Easy to set up and execute.
Supports many languages like Java,.Net, Ruby, etc.
Knowledge of coding is not required to write a test.
Conclusion :
Cucumber is not a framework. It is a testing tool based on a behaviour-driven framework.
Cucumber enables you with behaviour driven development(BDD). BDD enables you to write the scenarios in a plain language that you prefer so that it gives more readability to technical as well as non-technical person.
Cucumber can be integrated with Selenium for testing and can be used for cross-browser web applications testing. Scripts are easy to maintain and can be reused for different platforms and languages. These are the best tools used in DevOps CICD process.
Combination of Selenium and Cucumber provides you with a lot of advantages like it provides readability of code so that anyone in your team can get an idea of what your code will do & what scenarios you have covered, & reuse the steps easily whenever required.
Comments