Even some of the CodeIgniter developers are not especially happy about how Migrations are implemented in the current version. Never the less, if you have a CodeIgniter 2.x code base that you want to write unit tests for, you may want to use them. In a PHPUnit test class, you can use setUp() and tearDown()… Continue reading Using CodeIgniter migrations with PHPUnit