Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 8992

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.

0 votes

How to repeatedly run tests which add the same user to the system

Remove the dependency to control the conditions. Modify the application so that when it is run in test mode it uses mock responses from test data or a proxy server instead of the actual database.
Michael Durrant's user avatar
2 votes
Accepted

Can TDD be a tester task?

define 'normal' More seriously, writing (failing) tests before writing code is the essence of TDD and BDD. It means designing the tests and then testable code. … When a different person such as an automation engineer writes tests this is usually going to be in the BDD form of Given, When, Then. …
Michael Durrant's user avatar
4 votes
Accepted

Should scenarios be short or complete?

Break it up. Just as importantly, however, see what unit and integration tests you can make. I see: confirmation form validations composition of email to a new user triggering email for a new use …
Michael Durrant's user avatar
2 votes

Will writing unit tests block developers from coding?

Testing is coding! Or at least it should be in most environments today. Automation code that supports application can be hard to get right. However it shouldn't be seen as 'optional' and separate from …
Michael Durrant's user avatar
1 vote
Accepted

Benefits of BDD tools such as SpecFlow for tech debt in automation

In your case I don't think BDD (or its cousin TDD) is necessarily the right tool for what you are doing. … The tough part here is, as you move from tackling debt to testing new changes as they are made, you may want to use BDD and TDD techniques. …
Michael Durrant's user avatar
1 vote

How to test BDD features that require a flag set in order to run?

I suggest you figure out the screen or process or parameter that will you give you access to those features. The application is designed to control access so you need to determine how to grant that a …
Michael Durrant's user avatar
2 votes
Accepted

Given When Then - is one 'then' per test acceptable usage?

One assertation ('then') per test is a good thing and generally considered a best practice. It may seem a bit wordy and long but the idea is that when it fails you know exactly and specifically what …
Michael Durrant's user avatar
10 votes

Screen Play vs Page Object pattern

The key difference is that the screenplay pattern organizes the Page Objects The Screen Play pattern tries to address the issues, challenges and solutions that you will eventually encounter and addres …
Michael Durrant's user avatar
0 votes

Measuring feature coverage with BDDs

You question is: do you measure feature coverage, and how do you do it? My answer is: yes, I ask the knowledable users to train me or document them. Consider functions by user type such as regular u …
Michael Durrant's user avatar
1 vote

Behavioral Driven Framework vs Test Driven Development

After all bdd and tdd both mean writing tests first so it makes sense that developers do that. Your role may need to be more of a guide to best practices. …
Michael Durrant's user avatar
0 votes

Benefits of BDD

I don't try to differentiate between BDD and TDD and believe that they are both about the following: small change constant feedback continual improvement improved communication and they led to the …
Michael Durrant's user avatar
5 votes

Will writing unit tests block developers from coding?

I'd plan it this way: The specific tests that are written 'before the code' are unit tests that are written by developers just before they write the actual code. It should only take 5-20 minutes to w …
Michael Durrant's user avatar
2 votes

Tie/Wrap a BDD framework around any testing tool

Cucumber ! The main benefit is tests that are written in the users language using business domain terms. This helps to bring both the developers and users together for a better understanding and imp …
Michael Durrant's user avatar