Author Archive

February 25, 2012 0

Ibuidings Challenge

By admin in PHP

Ibuildings have recently announced their new coding challenge.
http://www.ibuildings.com/challenge/
In short its to build a custom notifier for Senio’s new build tool Sismo.
http://sismo.sensiolabs.org/
The criteria are that:
The notifier falls into one of the following categories:

Usefull
Creative
Inspiring

This got me thinking, what would be the worst penalty for a failing build? Who would you least like notified in the event the [...]

Tags: , ,

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 [...]

January 10, 2012 1

The Importance Of Logging

By admin in PHP

Until recently I had underestimated the value that can be gained by implementing an effective logging strategy.
The most common benefit to be gained is of course that it makes your application easier to debug. As a developer you have probably tailed an apache error log when trying to debug an issue. This technique is [...]

Tags: , ,

January 2, 2012 2

Integrating Phabric Into Your Behat Dev / Test Cycle

By admin in behat

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. [...]

Tags: , , ,

January 1, 2012 2

Using Behat In A Large Multi Disiplined Team

By admin in behat

Behat 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 [...]

Tags: , , ,

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: , , ,

September 21, 2011 2

Behat & XDebug: Testing & Debugging API Calls

By admin in Development

During 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 [...]

Tags: , ,

May 16, 2011 2

PHP Azure Contest Wrap Up

By admin in PHP Azure

Over the past couple of months I’ve participated in the #PHPAzureContest. As I was doing a large body of work for my dissertation it seemed like a good opportunity to try something new and get my project running on a new platform.
A Quick Recap Of The Product
The product is called ‘Twitter Sentiment Engine’. It looks [...]

Tags: ,

May 15, 2011 0

Offloading Libraries To Azure Blob Storage: Initial Experiments

By admin in PHP Azure, Uncategorized

In a previous post I’ve mentioned one of the big pain points on Azure for PHP developers is that it’s necessary  to upload the frameworks or libraries used in an application each time you push to Azure.
It was suggested that one way in which to get round this is to move your libraries to Azure blob [...]

Tags: , ,