/** * @static * @access public * @return PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Mutateme Mutation Framework - Mutateme'); require_once 'Mutateme/Adapter/AllTests.php'; $suite->addTest(Mutateme_Adapter_AllTests::suite()); require_once 'Mutateme/ConsoleTest.php'; $suite->addTestSuite('Mutateme_ConsoleTest'); require_once 'Mutateme/GeneratorTest.php'; $suite->addTestSuite('Mutateme_GeneratorTest'); require_once 'Mutateme/LoaderTest.php'; $suite->addTestSuite('Mutateme_LoaderTest'); require_once 'Mutateme/MutableTest.php'; $suite->addTestSuite('Mutateme_MutableTest'); require_once 'Mutateme/Mutation/AllTests.php'; $suite->addTest(Mutateme_Mutation_AllTests::suite()); require_once 'Mutateme/Renderer/AllTests.php'; $suite->addTest(Mutateme_Renderer_AllTests::suite()); require_once 'Mutateme/Runner/AllTests.php'; $suite->addTest(Mutateme_Runner_AllTests::suite()); require_once 'Mutateme/Utility/AllTests.php'; $suite->addTest(Mutateme_Utility_AllTests::suite()); return $suite; }
require_once realpath(dirname(__FILE__) . '/../../Bootstrap.php'); /** * Test class for all Mutateme_Adapter classes */ class Mutateme_Adapter_AllTests { /** * @static * @access public * @return void */ public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } /** * @static * @access public * @return PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Mutateme Mutation Framework - Mutateme_Adapter'); require_once 'Mutateme/Adapter/PhpunitAdapterTest.php'; $suite->addTestSuite('Mutateme_Adapter_PhpunitAdapterTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Mutateme_Adapter_AllTests::main') { Mutateme_Adapter_AllTests::main(); }