Posted on Thu, 17 Apr 2014 CodeCeption introduction and use in Yii I've spent some sleepless nights and stressful days trying to understand why the latest versions of PHPUnit won't work anymore on any of our dev boxes. It almost drove me mad. It was like chasing a ghost: you fix one thing, you think everything should now work, you try again, then: SBAM! Another error is bitch-slapping you some truth in your face. Iterate over a dozen times and you'll know how I felt. This was my state until I found about CodeCeption. …
Posted on Fri, 3 Jan 2014 Unit Testing and test driven mentality During the last few years I've started to attend the London Yii Meetup and as we are using Yii quite extensibly at work, we're also trying to do as much TDD as possible. I'm presenting here the slides that accompanied the talk I've given in June 2013. I will also try to dig into some of the fears that some developers have while approaching Unit Testing and TDD. …
Posted on Sat, 5 Nov 2011 How Yii virtual attributes work In this article I'd like to share some technical insights of a very useful aspect of Yii models: virtual attributes, how to use them correctly and avoid possible problems and headaches. Although the actual content of the article is definitely targeted towards Yii developers, I'll try to link as much as possible to additional resources for anyone can actually explore the content a little bit more. …