ATDD SpecFlow Step File
What is the ATDD SpecFlow StepFile?
The SpecFlow Step File uses the Scenarios created in the Feature File. These scenarios are created from the Business User Story Acceptance Criteria.
The Feature File generates Test Assembly code in the Gherkin language. A right mouse click selection will place it on the computer clipboard to be pasted into the Step file Gherkin code blocks.
The Gherkin Naming Convention (GWT):
Given I Have …
When I …
Then …
+SpecFlow Steps File with Scenario Regions
The SpecFlow Steps File using Regions to Encapsulate Scenarios
+SpecFlow GREEN Step Tests
The SpecFlow Steps File GREEN Test
The code for the ATDD Tests is added after all the Test Assembly Code has gone GREEN. These tests represent the Highest Level of Module Abstraction.
SpecFlow Feature File Tests Always Go GREEN Last!
The Code for the ATDD Test has already been written and Tested in the Testing Assembly …
… All you do is Cut and Paste …
…… The Tested Code Sections that Complete the Gherkin Code Descriptions
The following two tabs change content below.
I am a Principal Architect at Liquid Hub in the Philadelphia area specializing in Agile Practices as a Certified Scrum Master (CSM). I use Test Driven Development (TDD) and Acceptance Test Driven Development (ATDD) with Behavior Driven Development (BDD) as my bridge to Agile User Stories Acceptance Criteria in a Domain Driven Design (DDD) implementing true RESTful services
Latest posts by Brad Huett (see all)
- DevOps: A Bridge to Your DevOps Culture - March 25, 2016
- Embracing Test Driven Development (TDD) - March 25, 2016
- DevOps: Delivering Agile Projects - March 25, 2016