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

learn more… | top users | synonyms

0
votes
1answer
8 views

Specify what tests to run from SpecRun command line?

I'm looking for a way to specify what tests run when using specrun's command line (runtests.cmd). Is there a way to only run tests with a specific flag or specific feature file? Or is there another ...
2
votes
0answers
30 views

How to improve SpecFlow intellisense in Visual Studio

I'm using SpecFlow to write automated test cases for a project. I'm writing them in Visual Studio 2013 It's cool and the intellisense works, but I have some issues with it: Is it possible to limit ...
0
votes
1answer
28 views

Specrun - don't stop executing tests after a certain number fail

I am using specrun in visual studio to run my specflow unit tests. I have found that after a certain number of tests fail, specrun will stop and skip any remaining tests. How can I run all tests ...
0
votes
0answers
25 views

Access specflow test result in C#?

I am looking to add logging to my spec flow tests. What's the best way to determine if a test passed / failed / was inconclussive? I can do it by looking at ScenarioContext.Current.TestError, which ...
0
votes
1answer
947 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 ...
7
votes
3answers
400 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 ...
1
vote
1answer
228 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 ...
2
votes
1answer
614 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 ...
1
vote
2answers
169 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 ...
1
vote
1answer
190 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?
8
votes
2answers
2k 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 ...
0
votes
1answer
106 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 ...
4
votes
3answers
1k 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 ...
13
votes
4answers
5k 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", ...
2
votes
1answer
493 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 ...
2
votes
2answers
277 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
237 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 ...