Behavior Driven Development for the .NET framework

learn more… | top users | synonyms

0
votes
1answer
14 views

SpecFlow scenarios - covering different websites

At the moment my specification files are along the lines of: Scenario Outline: Do stuff Given I am on the "<website>" And I have entered "red" into the search field When I do ...
-1
votes
4answers
111 views

Should a test scenario prepare all of its required data? [closed]

Consider a BDD scenario with some given steps that refer to existence of a set of data in database. For example consider the following scenario steps: Given there is an active customer When as and ...
1
vote
1answer
79 views

Side-by-side Functional and Acceptance Testing (SpecFlow)

Edit: I have found a closely related question: StackOverflow This question is not about the differences between functional and acceptance tests! Almost all the info I could find on the web just ...
1
vote
2answers
58 views

Which style to use for features that are not directly driven by humans when using BDD Gherkin language?

Should they be written same way as human workflows, first person "I have entered..." style language etc.? Is the user effectively a gender-less "AI"?
3
votes
2answers
176 views

Gherkin: What is a reasonable number of scenarios per feature?

I'm keen to get thoughts on a reasonable number of scenarios per feature in Gherkin. At what point do you start to thing about re-organising the feature to keep the number of scenarios at a ...
-2
votes
1answer
286 views

SpecFlow/Cucumber - Documenting available steps [closed]

Our company is looking at implementing BDD in our .NET application. Specifically, SpecFlow. We can foresee a large number of common steps being created ('Given a customer', etc), so what methods have ...
6
votes
3answers
701 views

BDD in .NET - Chicken or Egg or..?

Predicate: I'm brand new to BDD / TDD, but I've done my homework. I'm trying to put everything I've read / learned into practice with VS2010, SpecFlow and NUnit. Things are working, but it's quickly ...
4
votes
2answers
419 views

How abstract should you get with BDD

I was writing some tests in Gherkin (using Cucumber/Specflow). I was wondering how abstract should I get with my tests. In order to not make this open-ended, which of the following statements is ...
4
votes
2answers
2k views

Should SpecFlow be used with BDD as a solo developer?

I am a long time fan of TDD and after reading the RSpec book, would like to transistion to a BDD process. I like the idea of driving from the outside in, as it is presented in the book. What I am ...
1
vote
3answers
1k views

How can I get the business analysts more involved in BDD?

I am a proponent of Behavior Driven Development, mainly with Cucumber and RSpec, and at my current gig (a Microsoft shop) I am introducing SpecFlow as a tool to help with testing. I'd like to get the ...
4
votes
2answers
756 views

At which architecture level are you running BDD tests (e.g. Cucumber)

I have in the last year gotten quite fond of using SpecFlow (which is a .NET port of Cucumber) I have used it both to test a ASP.NET MVC application at the web layer, i.e. using browser automation, ...