A Brief Introduction of Behaviour Driven Testing
Posted By : Divya Varnwal | 25-May-2018
BDT ( Behaviour Driven Testing ) is well accepted and current methodologies in an agile project. Behavior testing is based on the application performance and response. Behavior-driven testing sometimes known as BDD ( Behaviour driven development).
BDD ( Behaviour driven development) is a software development process which is based on the TDD (Test-driven development). It combines with general techniques of test-driven development. BDD is basically related to a principal idea about how software development work is managed by the business interest and technical insight.
BDD was developed by Don North as a response to the issues encountered by teaching Test Driven Development:
Where to start the process.
What to test and what not to test.
How many tests in one way go.
How to call tests.
How to under why the test fails.
The advantage of Behaviour Driven Development & Behaviour Driven Testing:
It involves with delivery team and stakeholder of our business and delivery team with the different perspective on the same page and ensuring that all have the same purpose.
The goal of Behaviour Driven Testing is a business-specific and domain-specific which allow you to describe the system functionality and behavior without knowing how to implement the functionality of that system.
In Behaviour Driven Testing, test in the form of simple text feature and description with test scenarios which is written before anything else and verified by the stakeholders.
Behavioural Driven Development Process:
Stories -> Behaviour-> Application
Stories are created on the basis of discussion topic which is related to the domain. when client and domain expert discussed with each other and create stories related to the application then developer and Quality assurance are developing the application and check the behavior application. After verifying the behavior driven testing of the application, an application is ready for access.
Cucumber TooL:
A cucumber is a tool of automation which used with selenium and user for behavioral testing. Cucumber is framework or platform for behavior driven development which is used to write acceptance tests scenarios of the web application. It permits automation of functional validation and simple scenarios of application in easily understandable and viewable format to business analyst, developer, tester.
Cucumber support writing specification in 30 languages. Cucumber is working with such type of programming languages like Ruby, Java, Dot Net, flex or web application written in any languages. Cucumber is both BDD and TDD.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Divya Varnwal
Divya is a part of QA team. She is a good learner enthusiastic and dedicated towards her work. She likes to spend her time roaming with friends and listening to songs.