In this post I’ll look at how to manage the use and maintenance of Phabric within a team of business analysts, testers and developers. Phabric is a dynamic fixture creation tool I created for use with the testing framework Behat. It allows you to embed fixture creation into your Gherkin feature files and scenarios. [...]
Posts Tagged ‘behat’
Using Behat In A Large Multi Disiplined Team
By admin in behatBehat is a relatively new testing framework, many developers are using it in personal projects and teams are beginning to use it for production projects as well. Recently a number of people have asked me about how Behat testing is integrated into larger projects involving teams of developers, testers and other stake holders. Common questions [...]
Behat & XDebug: Debugging Steps.
By admin in DevelopmentOccasionally 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 [...]
Behat & XDebug: Testing & Debugging API Calls
By admin in DevelopmentDuring office hours I work on a large PHP Application, we use a service oriented architecture and the application exposes a number of API’s. Recently we have been using Behat and writing BDD tests in Gherkin to test the behaviour of our various APIs.
When developing I always use XDebug’s remote debugging functionality to examine application flow and [...]