Currently there is no 'supported' way of adding PHPUnit into 1.2.x. I simply don't have the time to test PHPUnit and 1.2, and write documentation on how. However, if you want to use PHPUnit with your application tests, I don't see any blockers really. You just will have to use PHPUnit's fixture tools instead of the ones that Cake ships with. Once you get the framework + application bootstrapped it should be very similar to using PHPUnit with any other project.
-Mark On Oct 22, 3:43 pm, A Smiley <alsti...@gmail.com> wrote: > How difficult is it to integrate PHPUnit into an existing install of > CakePHP 1.2.3? Has anyone successfully done it? If so, please point > me to anything that's publicly available about the process. So far > I've found > onlyhttp://cakephp.lighthouseapp.com/projects/42648/phpunit-migration-hints, > which describes the process of installing phpUnit with CakePHP but > seems to assume you're running 2.0. I tried installing it using the > vendors directory method at this URL, but it didn't seem to replace > SimpleTest as I was expecting. How do I tell CakePHP to use PHPUnit > instead of SimpleTest? > > (Note: I've found this question (in a few variations) in the group > archives, but it doesn't seem to be answered previously. If I'm just > failing at Google, please send me a pointer to the proper discussion.) > > -A.s. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en