|
Example testsuite for PHPUnit testcases. For non-standard ATK applications you will have to adjust the $config_atkroot and $config_application_dir variables in the loadATK static method. Will use ATK to scoure through your application for class.test_*.phpunit.inc files and use those as phpunit testcases. To run this testsuite in it's default configuration, just make sure this file is located in the application root and run: Located in /skel/atkappsuite.php [line 42] PHPUnit_Framework_TestCase | --atkAppSuite |
|
PHPUnit workaround:
The masses and masses of globals that we use in the ATK config vars are not available in PHPUnit, so include
| Access: | protected |
|
Build a testsuite from all the tests in the modules.
| Return: | The complete modules test suite. |
| Access: | public |
