Workshop in English - US at SunshinePHP 2020
View Slides: https://www.slideshare.net/MarkNiebergall/bdd-api-tests-with-gherkin-and-behat-227133526
Checkout the code: https://github.com/mbniebergall/bdd
Short URL: https://joind.in/talk/dd8d3 (QR-Code (opens in new window))
_Given_ the prominence of API-first development _when_ developing web applications, projects _then_ need to be tested beyond unit and functional tests. Authoring tests using the Gherkin with Behat provides a way to achieve BDD with APIs. We'll dive right into writing Gherkin, how to create your own test scenarios in Gherkin, and how to hook those tests up with custom PHP test methods. See tests in action with live coding and live demos, including writing new custom tests. Leave excited to produce fully-tested APIs!