Skip to main content

Questions tagged [specflow]

Behavior Driven Development for the .NET framework

1 vote
1 answer
120 views

I'm implementing the steps of a feature with Specflow and I have a problem with one of the steps. Here is the Scenario : Scenario: Cancel a yearly running subscription after legal retractation ...
OrcusZ's user avatar
  • 129
0 votes
3 answers
946 views

In one of my projects I saw wrapping the expected results as a static variable in non static class. The reason for doing so is to make the code more readable, so that the massive expected result model ...
Anjo's user avatar
  • 215
1 vote
3 answers
266 views

I have done a lot of BDD reading since the beginning of the weekend. At the moment I am reading about the imperative style v the declarative style. The imperative style is often described as an anti ...
w0051977's user avatar
  • 7,139
0 votes
2 answers
187 views

I am trying to incorporate BDD into the teams working practices to make interactions with Business Analysts more effective. I recently asked this question: Should I pass an ID number from the feature ...
w0051977's user avatar
  • 7,139
0 votes
3 answers
1k views

Say I have a domain object like this: public class Customer { private Guid _id; private string _name; private Address _address; public Customer (Guid id, string name, Address address)...
w0051977's user avatar
  • 7,139
0 votes
2 answers
169 views

We use Selenium webdriver + SpecFlow for testing our Web application. For some functionality, everything is clear. But imagine the situation: some questions arrive to Web user from external system he ...
Alexander's user avatar
  • 101
5 votes
3 answers
5k views

I'm looking at BDD test tools, like SpecFlow, MSpec or NSpec, and I can't see from the examples what advantages they offer over simple unit test tools like MSTest. As far as I can see, when creating ...
Simon Elms's user avatar
0 votes
1 answer
163 views

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 ...
NikolaiDante's user avatar
-1 votes
4 answers
889 views

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 ...
Polymorphic's user avatar
2 votes
1 answer
1k views

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 ...
Riegardt Steyn's user avatar
2 votes
2 answers
202 views

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"?
Den's user avatar
  • 4,887
7 votes
2 answers
3k views

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 ...
David Osborne's user avatar
-2 votes
1 answer
418 views

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 ...
Daniel Becroft's user avatar
7 votes
3 answers
917 views

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 ...
Tom Tom's user avatar
  • 173
5 votes
2 answers
836 views

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 ...
Newton's user avatar
  • 151

15 30 50 per page