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
1answer
48 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 ...
0
votes
0answers
23 views

OSGI Budle service testing with JBehave

We Have an OSGI Budle with java API exposed only. The question is how to write an automation Jbehave test to verify funcionality of The OSGI Budle. Other question, how to test it if a Rest API ...
3
votes
1answer
105 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 ...
3
votes
2answers
137 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
96 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
0answers
68 views

How to tear down E2E scenarios into JBehave stories?

I have been been asked to automate few E2E scenarios which merely contains few hundred steps. i did POCs and they are working, but when it comes to real implementations, aplenty of question arises. ...
0
votes
1answer
389 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
109 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
89 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
98 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
415 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
189 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
3k 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 ...
4
votes
1answer
311 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
487 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 ...
12
votes
4answers
1k 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 ...
23
votes
6answers
1k 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 ...
5
votes
2answers
531 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
212 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 ...
11
votes
4answers
3k 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", ...