As my test suite (don’t confuse it with the official test suite which comes bundled with CakePHP) was based on bake2, it no longer worked with the removal of bake2 from the core. To fix that problem, I first tried to transform it to a shell script for the new command line infrastructure. Without luck. The way I wanted the test suite to work was not compatible with the way the command line infrastructure was designed for…

So I took the bake2 script and adapted it to the needs of the test suite. If you use the test suite that means the following for you:

  • apps.ini is now in the “testsuite” folder
  • to execute the test suite via command line you now have to use “php test.php app-alias” (from the “testsuite” folder)
  • to use the GUI you have to update the TestsController

That’s it. You can download the new version from the downloads section. If you want to know how to use the test suite, have a look at the introduction.

There is also a “new” (or, more precisely, a two-week old) version of the coretest script in the downloads section. This shell script allows you to run the core tests via command line. To use it, put the script to vendors/shells and execute it with:

cake coretest

Happy testing :)