Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mark Story's Blog:
CakePHP and PHPUnit
May 18, 2010 @ 17:51:28

According to this new post from Mark Story (and this article on The Bakery) the CakePHP project has moved away from simpletest as their testing tool of choice and has picked up PHPUnit.

In the recent bakery article concerning the ongoing development of CakePHP 2.0. The already underway migration from SimpleTest to PHPUnit was introduced. I wanted to go into some of the reasons and motivations for that decision as well as explain some of the long term benefits.

He lists some of their thoughts behind making the move including the fact that SimpleTest isn't E_STRICT compliant and that the integration of PHPUnit into some of the popular continuous integration and deployment tools makes it an obvious front-runner. Of course, there'll be a bit of pain as the transition is made, but the new tool will give much more insight into the CakePHP codebase. Most of the tests will translate relatively easily, though.

tagged: cakephp phpunit simpletest unittest framework

Link:


Trending Topics: