Behat is a great test automation tool, but its true benefit to developers comes when the tests are written first. Behat can support the requirements gathering and BDD process, provides a natural framework for modelling by example, and can guide the software architecture and design process. Discussing how to build the right thing right with Behat, we will look at how to write a good scenario, and how to use service-level testing in Behat to drive good domain design.
Sam Burns is a software engineer at Inviqa. He has a keen interest in test automation, software architecture and agile methodology. He is passionate about software quality, and is an enthusiastic advocate of Behat and PhpSpec, and the role of test automation in driving development.