path/vendors/simpletest"; $test_path = "$CONFIG->path/engine/tests"; require_once( "$vendor_path/unit_tester.php" ); require_once( "$vendor_path/mock_objects.php" ); require_once( "$vendor_path/reporter.php" ); require_once( "$test_path/elgg_unit_test.php" ); $suite = new TestSuite( 'Elgg Core Unit Tests' ); if (!$CONFIG->debug) { if ( TextReporter::inCli() ) { exit( $suite->Run( new TextReporter() ) ? 0 : 1 ); } $suite->Run( new HtmlReporter() ); }