Posted by Matt on Wednesday March 15, 2017
Lots of Middleware is being written for PHP, most of it compatible with PSR-7 messages - here's how I've been testing some middleware I've written for apps in Slim.
Posted by Matt on Friday March 3, 2017
I recently found myself writing some integration tests (or whatever you'd like to call them, people will argue about terminology for hours) for an app. Anonymous classes made testing the real implementation of my interface really easy, here's how.
Posted by Matt on Monday January 23, 2017
Here's a super-quick way of using the Symfony Process Component in Behat Contexts to run processes in the background.
Posted by Matt on Wednesday June 29, 2016
While giving my BDD & Behat talk recently, I was asked an interesting question by a tester about how to avoid writing implementation in feature files.