Inheritance diagram for TestSuiteShell:

Public Member Functions | |
| __canRun () | |
| __findFolderByCategory ($category) | |
| __installSimpleTest () | |
| __run () | |
| __setGetVars () | |
| help () | |
| initialize () | |
| main () | |
Public Attributes | |
| $category = '' | |
| $doCoverage = false | |
| $file = '' | |
| $headline = 'CakePHP Test Shell' | |
| $isPluginTest = false | |
| $plugins = array() | |
| $type = '' | |
Definition at line 27 of file testsuite.php.
| TestSuiteShell::__canRun | ( | ) |
Checks if the arguments supplied point to a valid test file and thus the shell can be run.
Definition at line 193 of file testsuite.php.
References __findFolderByCategory(), a(), Shell::err(), group(), groups, name(), and underscore().
Referenced by main().
| TestSuiteShell::__findFolderByCategory | ( | $ | category | ) |
Finds the correct folder to look for tests for based on the input category
Definition at line 307 of file testsuite.php.
References $category, $path, Configure::read(), and underscore().
Referenced by __canRun().
| TestSuiteShell::__installSimpleTest | ( | ) |
tries to install simpletest and exits gracefully if it is not there
Definition at line 353 of file testsuite.php.
References Shell::err(), and App::import().
Referenced by initialize().
| TestSuiteShell::__run | ( | ) |
Executes the tests depending on our settings
Definition at line 246 of file testsuite.php.
References $path, __setGetVars(), group(), groups, Shell::out(), and start().
Referenced by main().
| TestSuiteShell::__setGetVars | ( | ) |
Sets some get vars needed for TestManager
Definition at line 335 of file testsuite.php.
References group().
Referenced by __run().
| TestSuiteShell::help | ( | ) |
Help screen
Reimplemented from Shell.
Definition at line 156 of file testsuite.php.
References Shell::out().
| TestSuiteShell::initialize | ( | ) |
Initialization method installs Simpletest and loads all plugins
Reimplemented from Shell.
Definition at line 83 of file testsuite.php.
References $plugins, __installSimpleTest(), Configure::corePaths(), Configure::listObjects(), and underscore().
| TestSuiteShell::main | ( | ) |
Main entry point to this shell
Definition at line 107 of file testsuite.php.
References __canRun(), __run(), Shell::err(), Shell::hr(), Shell::out(), and underscore().
| TestSuiteShell::$category = '' |
| TestSuiteShell::$doCoverage = false |
Definition at line 69 of file testsuite.php.
| TestSuiteShell::$file = '' |
Definition at line 48 of file testsuite.php.
| TestSuiteShell::$headline = 'CakePHP Test Shell' |
Definition at line 76 of file testsuite.php.
| TestSuiteShell::$isPluginTest = false |
Definition at line 62 of file testsuite.php.
| TestSuiteShell::$plugins = array() |
| TestSuiteShell::$type = '' |
Definition at line 41 of file testsuite.php.
1.4.7