specflow

How to get VS2010 to recognize my mstests generated by SpecFlow?

I have configured Specflow to target the MsTest framework (instead of NUnit) by specifying it like this in the app.config of my 'specs' class library: <configSections> <section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/> </configSections> <specFlow> <unitTestProvider n...

When I write a feature that uses the same verbiage as other features, how do I make sure the right steps are called for persistence?

I am writing features with the same verbiage for some scenarios. Feature: User Management Scenario: Edit an existing user's details Given a user exists and Feature: Group Management Scenario: Add a user to a group's membership Given a user exists And a group exists In SpecFlow is there a good way to define what step each feature ca...

Specflow error using TestDriven.Net - Couldn't Find Type

I'm trying out Specflow for the first time, and have created a VS2010 project with a reference to TechTalk.SpecFlow, as well as nunit.framework. I've added a sample Feature file: Feature: Addition In order to avoid silly mistakes As a math idiot I want to be told the sum of two numbers @mytag Scenario: Add two numbers ...

Writing quality specifications with SpecFlow (or equivalent tool)

I've been playing with SpecFlow for the last couple of days. During that time I realized I should brush up on writing quality specs for these systems. Could someone point me towards some resources with best practices on creating quality specifications for SpecFlow or similar tools? ...

How to sto SpecFlow from displaying timing information.

Hi there. How can I configure SpecFlow so that it does not display timing information as part of the test text e.g. -> done: Steps.ThenIWillBeDeniedAccess() (0.0s) Cheers. Jas. ...

How to choose between different test types with SpecFlow, Cucumber or other BDD acceptance test framework?

I am looking at SpecFlow examples, and it's MVC sample contains several alternatives for testing: Acceptance tests based on validating results generated by controllers; Integration tests using MvcIntegrationTestFramework; Automated acceptance tests using Selenium; Manual acceptance tests when tester is prompted to manually validate re...