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 webserver and database.

After attending this talk, I hope 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.

Comments

Comments are closed.

The explanation was clear. We will not use it, but it was good information to make that decision.