Greetings, > Does anyone do TDD in Cake? Do you have any recommendation or > something helpful to start with this practice? test-driven development with CakePHP is worth the effort. For starters, have a look e.g. in the test suite included with CakePHP, which can be found in the `cake/tests/` directory ([see here][1]).
If you do want to write tests for CakePHP 1.3.x, you will need to grab [SimpleTest][2] and extract it into your vendor directory. For CakePHP 2.0.x, [PHPUnit][3] is used to write tests. I'd recommend to peek into the 2.0 branch on github, which comes with [tests][4] as well. An example for plugins and tests would probably be the debug kit, as it comes with [batteries included][5], too. Try defining your test cases, groups, etc. before you build the actual application, and not after the app is done. :) [1]: https://github.com/cakephp/cakephp/tree/master/cake/tests [2]: http://simpletest.org/ [3]: http://phpunit.de/ [4]: https://github.com/cakephp/cakephp/tree/2.0/lib/Cake/tests [5]: https://github.com/cakephp/debug_kit -- [kogito](http://kogitoapp.com) - nerds available for awesome projects kogito Anwendungsentwicklung bra...@kogitoapp.com c/o Daniel S. Reichenbach phone: +49 6462 915060 Auf dem Würtenberg 33 mobile: +49 160 96311159 35075 Gladenbach, Germany -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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