A practical guide to BDD with Behat and Flow
This talk gives an introduction into BDD, Behat and shows practical examples how to apply it to TYPO3 Flow projects.
Behavior-driven development (BDD) is an approach to overcome some of the limitations and issues of test-driven development by providing a focus on specifications and customer needs. By using readable stories it can greatly enhance the communication between stakeholders inside a project. A developer is guided on the "what" and business expectation of an implementation and not on the "how" by getting lost in technical details.
Behat is a popular story BDD implementation for PHP that can test nearly anything in an automated way by making natural language executable. Together with Mink, a framework for web acceptance testing, it's a perfect match for testing the stories of a web application from the outside - like a normal user of the system would do.
This talk gives a short introduction to BDD and Behat while focussing on the practical approach of integrating Behat in the Flow application development process and how to benefit from a BDD workflow.