Archive for October, 2011

October 22, 2011 0

PHP Barcelona (PHPBC11) – Acceptance & Integration Testing With Behat

By admin in Uncategorized

Next weekend is the fourth edition of PHP Barcelona. I’m giving a two hour workshop on Acceptance & Integration Testing with Behat.
Behat is a relatively new testing tool and is centred round the Behavioural Driven Development methodology.
The workshop will consist of an introduction followed by a number of practical exercises. By the end [...]

Tags: ,

October 10, 2011 1

Behat & XDebug: Debugging Steps.

By admin in Development

Occasionally when writing complicated steps in Behat it’s useful to debug them (perhaps to find out why your tests are failing!).
The Behat test runner is actually just a PHP script run from the command line. As such by declaring a special variable before running the test runner we can trigger a remote debugging session on [...]

Tags: , , ,