Latest Posts

Using SQLite with Kahlan in PHP

I've been using Kahlan for testing a bit recently, I really like the describe-it style. I had a project where I needed to write an SQLite implementation of a repository and I wanted to use Kahlan to test the implementation, here's how I did it.

Cigar: Smoke testing in PHP

Inspired by something I saw a friend write in Go, I've written a small smoke testing tool in PHP.

1, 2, many development

When developing, sometimes you might find yourself repeating things within the same context. I generally try and follow a one, two, many system for a rule on when to stop just adding on to something and refactor / try an approach that makes it easy to scale.

Transformers in Behat

Transformers can provide a lot of helpful utility in Behat, reducing the work required to get what you need within your step definitions.