Tutorial: BDD API Tests with Gherkin and Behat
This tutorial will include live coding! We will cover the concepts, do live coding as a class, and finally break out into groups writing behavioral tests with Behat and Gherkin.
Please bring a laptop with the following so you can participate in the live coding excersize:
- Have PHP 7 installed
- Clone the initial repository using
git clone https://github.com/mbniebergall/bdd.git
. - Install the packages using composer within the bdd project directory by running
composer install
. - Run a local PHP web server within the bdd directory using
php -S 0.0.0.0:8088 -t public/
.