Setting the Yii test environment

Have you decided to write tests for your Yii project? Awesome, this post will be useful for you =D
I’ve started to work with Yii recently, and I have to be honest that is not my favourite PHP framework, Symfony is on the top my list, but we can’t ignore one aspect so important for the software cycle life because of personal preferences.
If you have tried to write tests for the Yii using mock objects for active record model you will probably find yourself that isn’t an easy task. This guide has the mission to help you to set up your test environment; this doc is using the Yii 1.0 documentation as support to configure the test environment, below you can figure out how to start from scratch to write unit and functional tests for this or anything else projects using Yii.

… 

 

Hello world!

Hi everyone, I’m Bruno Borges as you can probably see from looking at website’s URL. Well, it isn’t an easy task to keep a blog running. Inspiration, time to write and other things usually increase the difficulty. Actually, this is my second attempt. Many years ago I had built a blog using the free hosting service from wordpress.com. It is never too late to try again and I have to be honest, this will be an even bigger challenge than before, because I’ve decided to write only in English which is not my main language, reason for this, is to improve my English writing skills, so, please be patient with me.

…