Questions tagged [bdd]

Behavior driven development (or BDD) is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

Cucumber - How to run background only once

Using Cucumber with Javascript and Selenium I have the following Gherking file: Feature: Login Background: Given database is filled with these emails and passwords. | tobias@...
3
votes
0answers
937 views

How can I make my solution thread safe for testNG parallel execution?

Background: For quite some time I have ran automated tests using forked JVM processes, this proved quite easy when injecting a driver object using spring, I could simply provide the following: @Bean(...
2
votes
0answers
36 views

JQuery Not working after updating NUNIT to 3.7

I have used to find an element using jQuery select0r. This is how am trying to find out the element. var linkDom = new DomElement(DomElementType.JQuerySelector, string.Format("{0} a:icontains(\"{1}\")...
2
votes
0answers
94 views

Outside or within remit - should a BDD scenario be created for this user request

Given the following overarching purpose (mission statement) for an application: In order to help keep a healthy and refreshing sleep regime, or in order to limit computer-related addictive behaviours,...
1
vote
1answer
51 views

Writing behavioural features/scenarios for application with many proccesses and sections

I'm trying to start automation on the web application that I'm currently manually testing. I was suggested to do it using BDD, so I started reseaching about it, and as I started writing my first ...
1
vote
1answer
3k views

BDD specflow Error: "Ambiguous Step Definition Found For Step

I am getting this error: "Ambiguous Step Definition Found For Step...." on running my Specflow Test. The code is for the client that I am working for, thus I am not permitted to provide code sample. ...
0
votes
0answers
29 views

Specflow+Living Doc Azure Devops Integration failed and not working

Please note i have latest version of specflow Added Living Doc plugin build step to Azure Devops build pipeline Settings as shown in the 2nd screenshot Ran build pipeline and getting error at Specflow+...
0
votes
0answers
882 views

How can i run my Cucumber project as a Maven Test as the Build passed but it shows Tests run: 0?

I have created a Cucumber project, which has multiple feature files, Step definition classes and one TestRunner.java class. Now, that project has a Maven project structure and i want to run it as a "...
-1
votes
0answers
20 views

Mapping BDD scenarios to user stories

We would like to introduce BDD for our teams - jira/ado has stories with requirements and the BDD test scenarios could serve as acceptance criteria. The test scenarios would be written in gherkin and ...