I just uploaded a new version of my test suite to the downloads section. This version allows you to test your CakePHP plugins. In contrast to the “normal” tests which are placed in app/tests, plugin tests are placed in app/plugins/[plugin name]/tests. The used folder structure for the tests folder is almost identical to the one used for app/tests:

app/
    plugins/
        pluginname/
            tests/
                components
                controllers
                fixtures
                helpers
                models

Only the groups folder is missing, as I am not (yet) convinced it is needed.

You can write the plugin tests in the same way you write your other tests (see http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/).

You can execute the plugin test via command line with:

php bake2.php test application-alias plugins  // executes all plugin tests
php bake2.php test application-alias plugin pluginname  // executes all tests of the specified plugin

Or if you use the web interface you can call:

http://example.com/tests/plugins  // executes all plugin tests
http://example.com/tests/plugin/pluginname  // executes all tests of the specified plugin

Feedback is welcome. Happy testing :)