An acceptance test driven development and behavior driven development framework for .NET.

learn more… | top users | synonyms

11
votes
4answers
4k 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", ...
8
votes
2answers
1k views

What is the best way to have a SpecFlow project run across multiple browsers?

I'm working on setting up a SpecFlow project to test a portal. Thus far I've haven't had issues writing some "hello world" features and steps. My question is as the testing project grows, what is the ...
7
votes
2answers
372 views

Suggestions for “Selling” TDD, and FDD to sceptical non engineering managers

Let's say you are a developer (specifically, the team lead) and you want to improve the quality of your company's products. Since you cannot change the whole company, you focus on what you and your ...
4
votes
3answers
891 views

What is the best way to handle minor intermittent automation failures during cross browser testing?

I run Web Driver (.Net version) with SpecFlow as my test driver on some fairly general Cross - Browser scenarios so I often am rerunning tests as I add new ones, or clean up old automation. On ...
2
votes
2answers
216 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 ...
2
votes
1answer
503 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
1answer
224 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 ...
2
votes
1answer
437 views

Cucumber and Watin for Acceptance testing in Asp.Net MVC

If the business owner/QA are writing/running the Acceptance test against the front end of a Asp.Net Mvc Application, is there a benefit to using SpecFlow/Watin or SpecFlow/Selenium over ...
1
vote
1answer
156 views

c# with Watin and SpecFlow - how to mark some test

How can you mark some tests to run only those? From all the test that you have in different folder to mark some as sanity and only run those?
1
vote
1answer
63 views

Wrap specflow scenario within try-catch

I have been running into a problem with the C# selenium bindings decribed here: http://stackoverflow.com/questions/22322596/ where a timeout exception is thrown occasionally while running my selenium ...
1
vote
2answers
139 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 ...
0
votes
1answer
101 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 ...
0
votes
1answer
563 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 ...