In my opinion, I think it's better to use standard PHPUnit for unit testing.
In addition, it has many nice features, your tests will be more consistent, and it does not depend on the CakePHP module testing class.
If in the future you decide CakePHP does not meet your needs, you will lose your unit tests. (or, say, you have to transfer them, which is time)
If you are testing code, it depends on CakePHP (Controller, Model, etc.), there is no problem using CakePHP tests, but for any other case, I think you should bet on the more popular unit test package, which can ( Phpunit )
Happy testing :)
Radoslav Georgiev
source share