Writing Better Feature Files for BDD

Behavior Driven Development (BDD) is an software development technique that use a specific format that allows both to describe the system requirements, the features, and to feed an functional software testing tool that will allow to verify the software product. In this blog post, Shashikant Jagtap explains how to write better feature files.

This approach is similar to the Test-Driven Development (BDD) approach, but applying it at the requirements level. A feature is template for a requirement that has two components: a feature title and a narrative. The article describe all the components of the features files and proposes general tips and many specific tips for the feature components: background, scenarios and tags.

The conclusion of this blog post is that “Feature files help non-technical stakeholders engage and understand testing, resulting in collaboration and bridging the communication gap. For this reason, well-written feature files can be a valuable tool in ensuring teams uses the BDD process effectively.”

Read the complete blog post on http://www.bbc.co.uk/blogs/internet/posts/Behaviour-Driven-Development-Tips-for-writing-better-feature-files