Crash Course: Behat & BDD
This hands-on workshop will help you master Behat and the Behavior Driven Development (BDD) approach to create clear, structured, and easily maintainable tests in PHP. Learn to test REST APIs, databases, queues, caches, and integrations with external services without excessive complexity. Focus on real API projects, including checking HTTP responses, simulating external APIs, and checking the state of the database after requests. Integrate tests with Swagger for auto-generation of examples. The course provides practical experience writing Gherkin scripts for API and backend testing, a ready-made Behat project adaptable to your own infrastructure, and understanding techniques for testing Redis, queues, databases, and external APIs through BDD. Integrate with Swagger to generate examples based on test responses. This knowledge will help you implement Behat in your projects, reliably test integrations with third-party services, create tests that describe system behavior in understandable language, improve interaction between developers, QA, and products with transparent Gherkin scripts, and reduce bugs in production. The course consists of two online sessions on Saturdays, May 17 & 24, starting at 10:00 Kyiv time. Collaboration will be in teams and pairs, with lectures, meetings, practical exercises, and homework. The language of the event and presentation is Ukrainian and English. It is aimed at PHP developers, PHP teams, tech leads, and testers looking to write automated tests in a clear format.