Behaviour Driven Development with Laravel
summary
Shows a concrete BDD workflow: discovery, formulation, automation with real examples and one surprising claim — clients accept far fewer rewrites. Uses Behat with Gherkin feature files stored under features, stubs steps via vendor/bin/behat, boots Laravel in a FeatureContext, refreshes the DB per scenario, and passes numeric args into step methods. Demonstrates a ride‑matching example (van vs car), recommends TDD for services in a double-loop workflow and mentions Mink for JS-driven scenarios.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:43History with BDD
- 5:56Goal of BDD
- 6:38Discovery
- 10:46Feature Files
- 13:12Stage 3 Automation
- 14:20The Hat
- 14:43Laravel Setup
- 24:06Outro
related talks
45mBehaviour Driven Development and Behat: Telling Stories Through Code
31mBDD: Behaviour Driven Development
46mBehavior-Driven Development in Python
30mPHP: BDD revolution — how we returned from hell
41mBehavior-Driven Development: Feature this!
44mHow to Start Working with DDD Using BDD
40mMaking BDD Work for you
48mMake Your Life Simple and Carefree with BDD
