February 24, 2012 0

Speaking at DPC12

By admin in Uncategorized

I’m pleased to announce I’m speaking at DPC12 this year. I’m giving a tutorial on Thursday 7th June: “Acceptence and Integration Testing With Behat”.

Here is the abstract:

Behat is a behaviour driven development framework for PHP. It can be used to write integration and acceptance tests in a language that non developers can understand. In addition to being a robust and useful testing tool it can help to make the development process more transparent to non developers and other stakeholders.

The workshop gives attendees an introduction to behaviour driven development (BDD) and goes on to show how to use Behat to accomplish BDD’s goals. The workshop covers writing tests with Gherkin (the human readable test description language), implementing steps (the executable element to the test written in PHP), testing API’s using Behat and testing UI’s using Mink: Behat’s UI testing toolkit.
At the beginning of the session attendees are provided a virtual machine with Behat installed and a small test application based around the DPC conference. Tests will be written for the existing code to showcase Behats features. Later attendees will follow true BDD best practise, defining behaviour first, writing tests and then developing the next simple piece of functionality.

In addition to the practical work some case studies of ‘Behat in the Wild’ are shown and some supporting open source projects are demo’ed. At the end of the session attendees should be able to go away and start using Behat in their own projects.

Note: Attendees should bring a laptop with Oracle’s Virtual Box installed. https://www.virtualbox.org/

I hope you can make it!

Leave a Reply