Behat is a tool that makes behavior-driven development (BDD) possible. With BDD, you write human-readable stories that describe the behavior of your application. These stories can then be auto-tested against your application. And yes, it’s as cool as it sounds!
In this session, I will be covering the following basic topics:
What is Behaviour Driven Development
Getting started with Behat
How to Write and execute behat scenarios on Mac, Windows or linux
How to create multiple profiles in behat.yml
How to capture screenshots of failed steps in order to debug
How to Generate readable and ready to share HTML test reports
An overview of widely used Behat extensions
Enhance your tests by writing custom functions (PHP coding knowledge required)
How to run selective Scenarios (tests)
Introduction to custom functions
How to get started with writing Behat tests in a feature file which are known as Scenarios in Behat?
Three basic steps to set up any Behat extension