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.

learn more… | top users | synonyms

0
votes
0answers
14 views

How can I add Gherkin-based testing to an existing codebase

I am working on converting some hand-written test-scripts to Gherkin-based BDD. My codebase is in Python so I've been looking at behave. However, one challenge I'm facing is defining existing ...
0
votes
2answers
222 views

cucumber java.lang.IllegalArgumentException: Not a file or directory:

I'm new to cucumber. I have created a cucumber project but cannot seem to run the project. Every time I do, I get an error: java.lang.IllegalArgumentException: Not a file or directory: Here is how my ...
1
vote
0answers
47 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 behaviors, ...
2
votes
3answers
124 views

The best time to run acceptance-tests with Cucumber/selenium?

I want to know, which is the best way to run automated and acceptance tests? Because now I have two environments, which are develop and qa, but I don't know if the better way to run these tests is ...
0
votes
0answers
38 views

Measuring feature coverage with BDDs

I'm looking for approaches to measuring feature coverage (however you want to define that), and how BDDs can help (or be a neutral, or even negative factor) in such measurement. My question is: do ...
0
votes
1answer
70 views

Is it possible to test app behaviors without considering UI and client platform?

I 'd like to test a system that exposes different routes and API to have data (represented in JSON) that are then used by different client applications (iOS, Android, WebApp). So my aim is to ...
3
votes
2answers
281 views

BDD in Validation: good tools?

Context: For 2.5 years, I wrote Java-based desktop software at software company A (the supplier). The software also has a server and a web component. The software was custom-built for company B (the ...
4
votes
2answers
242 views

BDD living documentation for Product Owners

We have been using bdd in our team for over a year now. The jobs that run our tests generate a published report in business language that anyone is available to read. We find these very useful inside ...
3
votes
1answer
119 views

How to test baby alarm

We have a Computer Science project consisting of a baby alarm (a sender and a receiver) so when the baby is crying or a loud sound is perceived, an alert is sent to the parent. I'm interested in how ...
0
votes
1answer
1k views

specflow vs fitnesse

I am evaluating between specflow vs fitnesse with respect to BDD. I would like to find: Fitnesse allows the user to pass inputs through excel. Specflow provides any similar functionality? Fitnesse ...
1
vote
2answers
173 views

Product Owners - level of involvement with .feature files

I am involved in a project where Given-When-Then formatted stories are written by the Product Owner (in a web-based story repository / JIRA), then created by Developers, while system test automation ...
2
votes
2answers
106 views

Level of detail in a Scenario - when to stop

Scenario: Installer Link When user enters "product.company.com" into a web browser Then a hyperlink is presented to 'ProductSetup.exe' TODO: There is nothing here about presentation, ...
0
votes
1answer
107 views

SpecFlow - test MVC3 Web site with action calls

I'm very new to BDD testing, and would like to ask, is it possible/OK to test ASP MVC3 actions directly (using WebClient) using SpecFlow? i.e. Feature: Login Scenario: Logging in Given I post ...
2
votes
1answer
650 views

BDD SpecFlow w/WatiN test during/after redirect

I have begun to use SpecFlow and WatiN to automate UI tests in IE9, and am encountering a maddening problem which may have nothing do to with either, but hey. I have the following step: [Then] public ...
2
votes
2answers
310 views

Is it good practice to combine my Test and Prod BDD tests in one Framework?

This question has been bothering me lately, more from the fact that in the past this is something I would never do, yet in the past I wasn't writing BDD tests. Since incorporating SpecFlow into a ...
6
votes
4answers
5k views

What are recommended scenarios to use Selenium Tests for?

My company is introducing BDD into our projects. Our customers have differents processes-cases wich also may fork at specific points. It is a mostly long and tedious work to test each case and each ...
5
votes
1answer
366 views

Impacts of BDD on QA Teams

Behavior Driven Development (BDD) approaches such as NSpec seem to bring developers and those that define business specifications closer together. But this has left me trying to figure out how more ...
4
votes
2answers
608 views

how to implement a given logged in user role through UI automation?

As suggested on StackOverflow I am posting this question here as well. I am having trouble how to implement the Given step (with SpecFlow for example) of a logged in user role throught Web UI ...
14
votes
4answers
2k views

Documenting Unit Tests

We follow a BDD approach to development, we have our testers creating scenarios from a specification, and these are then given to our developers before any work is started. However, we find that some ...
26
votes
7answers
2k views

What goes in your definition of done (DoD) ?

In agile projects, we use the definition of done to ascertain when to consider a user story to be ready for acceptance (implemented and tested). In the project's DoD we have things like following ...
6
votes
2answers
561 views

Behaviour Driven Development with JavaScript

Are there any approaches and tools for driving the development of JavaScript with BDD. I know that I can do this through the UI with tools like Selenium, but is there any tool that can allow this to ...
2
votes
1answer
238 views

BDD with 3rd party services

I am developing a asp.net mvc site that depends deeply on a 3rd party web service. I would like to know what is the best approach to develop this site since the web service is not ready yet and I ...
14
votes
4answers
6k views

Does writing “Given” “When” “Then” BDD style test cases scale up to larger, end-to-end scenarios

Traditionally, structured test, especially long scenarios are commonly written in the step, expected, actual format. Behaviour Driven Design replaces this with the style of "Given", "When" "Then", ...