Unit Testing


CakePHP 1.3 and Forward-Compatible Unit Tests

If you want to write unit tests against a 1.3 CakePHP application (and you should want to write unit tests), using this TestCase class and Mockery will let you use forward-compatible PHPUnit-style assertions by temporarily translating them to SimpleTest assertions. The benefit being that your tests will break less when upgrading the project to Cake […]