The SpecFlow Cook Book

OrganiseProject

Organise project

Organise the SpecFlow assets within your project.

Assets include:
Features
Step Implementation
Step Hooks

From the project root, a good idea is to have separate folders for both feature files and steps.

It is not always the case that there is a one to one relationship between feature file and step implementation file. Feature files stand on their own, acting as a catalogue of a systems features.

It should be the goal to reduce the amount of unique step bindings such that the overal effort in authoring new behaviours is a mere act of adding new or enhancing existing scenarios.

The suggested pattern is as follows:
Project root
+Features
++Feature1.feature
+Steps
++FeatureStep.cs
++Events.cs

close
OrganiseProject

Organise project

Leave a Reply

Paul Marshall

I started Wavecrest Software in 1999 and have achieved success in a range of UK blue chip companies as well as small and medium sized businesses. Proven track record in software development from an extensive hands-on technical lead / senior development background using .NET technologies and Agile methodologies.
OrganiseProject

Organise project December 16, 2013


Contact


Search