Improving your Code with PHPUnit and Test Driven Development: Part 2

Recap: In an effort to change the coding world for the better, make new friends and drink so much amazing free Truth coffee that I could see through time, I presented a workshop on Improving Code with PHPUnit and TDD at WordCamp Cape Town 2018. As the caffeine hasn't yet left my system, and because … Continue reading Improving your Code with PHPUnit and Test Driven Development: Part 2

Advertisements

Improving your Code with PHPUnit and Test Driven Development: Part 1

Last week I had the pleasure of attending WordCamp Cape Town 2018 and hosting a workshop on PHPUnit and Test Driven Development. I find reviewing slides from talks to be too abstract to be of much help (unless you're reviewing slides in a panic a week before you are due to present and need to … Continue reading Improving your Code with PHPUnit and Test Driven Development: Part 1

Writing Tests for a Class that Uses the ArrayAccess Interface

I am currently involved in a project that utilises the WordPress REST API. As a follower of the principles of Test Driven Development (TDD) the project comes complete with extensive unit and integration tests that were all written prior to even conceptualising any code. Some times. As an aside, I'd place my current level of … Continue reading Writing Tests for a Class that Uses the ArrayAccess Interface