Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Articles Tagged ‘linux’

Getting started with BDD and Behat

Tuesday, April 18th, 2017 by Servage
bdd-behatBehat is a popular behavior-driven development (BDD) framework. In Behavior-driven development, developers write the behavior of their application before implementing it with PHP. This way of working helps you design and plan your application instead of jumping right into coding and thinking afterwards if issues arise. Today we will see how BDD can be used with Behat and other tools that work closely together with it. BDD Workflow with Behat The workflow of BDD is quite similar to that of TDD. The first task is to write down the behavior of a feature that is about to be implemented. In Behat, this is done using Gherkin, an easy-to-read language that even those who ...