gyro/modules/simpletest/start.inc.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * @defgroup Simpletest 00004 * @ingroup Modules 00005 * 00006 * Wraps the simpletest unit test library (http://www.simpletest.org/) 00007 * 00008 * Place your tests in a directory "simpletests" directly beneath the module or application root. 00009 * They will be automatically run when simpletest/run is invoked. 00010 * 00011 * Test files must end with .test.php and the class name must start with "Test" 00012 */ 00013 00014 // simpletest doesn't run in STRICT mode 00015 error_reporting(E_ALL ^ E_NOTICE); 00016 00017 if (!defined('APP_SIMPLETEST_DIR')) { 00018 define('APP_SIMPLETEST_DIR', dirname(__FILE__) . '/3rdparty/simpletest/'); 00019 } 00020