Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Debuggable Blog:
Running Tests from The Commandline in CakePHP
May 08, 2008 @ 10:27:41

New on the Debuggable blog today there's this post from Tim Koschutzki about a new feature he's contributed back to the CakePHP project. It allows you to run tests on the command line without having to worry about loading up a web interface to check your code.

It allows you to run all of the following: all core testcases at once, all core test groups, each core test case individually, all application-specific testcases at once, all application-specific test groups and each core test case individually. It also supports plugins, which means you can run plugin cases and groups.

He includes some samples of how it works - a few command line calls and what the output looks like.

tagged: test unittest commandline cakephp framework testsuite

Link: