Skip to content

Testing APIs written in PHP using the Behat feature testing tool

Photo of Tobias
Hosted By
Tobias and Benoît D.

Details

Our upcoming meetup is the third this year and last one before the summer holiday. We have Timo Bakx to speak about testing API endpoints using Behat and Gherkin. Possibly a must-attend event if you develop APIs... ;)

-----

The lecture:
Manually testing your own API endpoints using Postman or an equivalent tool takes a lot of time. Testing them through unit tests will only test a part of our application, and often skips network and framework configuration.
Using Behat, we can write tests in Gherkin and execute these on an actual web server and database.
Behat is a test framework for behavior-driven development (BDD). Behat test scenarios are written with Gherkin, a business-readable domain-specific language following defined patterns.

After attending this talk, Timo hopes that attendees will be able to:

  • Implement Behat into their own projects.
  • Write functional tests in Gherkin.
  • Setup state for these tests.
  • Verify test results from response bodies and database state.

-----

About Timo Bakx
Back-end developer, building API's in Symfony at Linku. PHP developer since 2004, working on API’s in Symfony since 2016.

-----

About the location:
The meetup is held at Senet. Senet provides us an amazing place with food (pizza, vegan as well) and drinks. Everybody is encouraged to attend about an hour prior to the lecture, so we can have a chat while enjoying our food.
Senets nice building is located just outside the Ringweg in the south of Eindhoven, near the gorgeous Genneper Parken. Loads of free parking spaces are available around the building.

-----

About the meetup:
• attending the meetup is free (as in free beer);
• free food (pizza, vegan as well) and free drinks are provided!;
• food is available between 18:00 and 19:00;
• prize raffle (JetBrains license) every meetup;
• the lecture will start at 19:00;
• spoken language is English unless not necessary;
• the presentation is in English;
• suitable for novice to expert level;
• held at Senet HQ;
• free parking spaces are right around the building.

Photo of PHP & Laravel development Eindhoven group
PHP & Laravel development Eindhoven
See more events
Respond by
Tuesday, May 14, 2024
8:00 AM
Senet
Gestelsestraat 258 · Eindhoven
Google map of the user's next upcoming event's location
FREE
30 spots left