An acceptance test driven development and behavior driven development framework for .NET.
10
votes
4answers
1k 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", ...
7
votes
2answers
289 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 ...
3
votes
3answers
348 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 ...
3
votes
2answers
157 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 ...
2
votes
2answers
117 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
173 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
239 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
58 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
172 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 ...
0
votes
1answer
72 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 ...