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
30 views

Is Parallel Testing possible in Cucumber with TestNG?

I am trying to implement Cucumber-JVM with testNG and I need to execute the scripts in parallel with multiple browsers. Is Parallel Testing possible in Cucumber? If Yes, Can any one help me on this?
1
vote
1answer
41 views

How to setup Behat for Magento on Mac with MAMP?

We have a Magento shop and want BDD-tests for our system - locally and later on server side. How can I setup an Behat environment on my mac with MAMP?
1
vote
3answers
60 views

Tie/Wrap a BDD framework around any testing tool

What would be the additional benefits of wrapping a bdd(behavior development design) framework around a proprietary test tool besides the natural language aspect of the test steps? Any suggestions ...
0
votes
2answers
75 views

Cucumber: Multiple vs One step definitions file?

Im trying to figure out what the better way to do this is? On one hand separating your step definitions based on the different feature tests is nice for organization (or in case one breaks and you ...
0
votes
1answer
168 views

How to integrate Jbehave and TestNG?

I googled and found most of scripts were written in Jbehave with junit. But I'm trying to integrate Jbehave with testNG framework. And the following were I tried so far. Feature file: Scenario: ...
4
votes
0answers
56 views

How to Run tests in parallel with Spinach BDD framework?

Currently in our company we use Spinach as a BDD framework and test runner for our automated acceptance tests. We also use Selenium as a browser driver, Capybara as an additional layer on top of it ...
5
votes
2answers
112 views

Style of acceptance test cases? (BDD)

I've been struggling a bit when writing test cases. Our team follows a 2 week sprint, and I'm writing acceptance test cases on these user stories. I've tried the BDD format (Given/When/Then) and it ...
2
votes
1answer
88 views

BDD Acceptance Tests feel…short?

So i'm newly adapted to BDD, and have been using Cucumber for Test Automation, but I also use the "Gherkin" style for writing acceptance tests (that I will hopefully be able to automate in the future, ...
2
votes
1answer
67 views

BDD Test Plans: Should features be the same User Stories?

So I'm somewhat new to the BDD world. I've been using Cucumber a little bit for automated testing, but I'm unable to automate everything due to general manpower/time restrictions. However as I write ...
0
votes
0answers
39 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
1k 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 ...
2
votes
0answers
59 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
208 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 ...
1
vote
1answer
110 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
96 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
433 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
298 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
129 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 ...
1
vote
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
202 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 ...
3
votes
2answers
115 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
752 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 ...
3
votes
2answers
447 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
6k 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 ...
6
votes
2answers
438 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 ...
6
votes
2answers
685 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 ...
28
votes
7answers
3k 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 ...
7
votes
2answers
567 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
247 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
7k 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", ...