示例#1
0
		</ul>

	<p><strong>NOTE: Some tests will create temporary test tables in your database (<?php 
    echo htmlspecialchars($db_config['name']);
    ?>
); using the prefix: "<?php 
    echo htmlspecialchars($evo_tests_tableprefix);
    ?>
".</p>

	</body>

	</html>

	<?php 
    exit;
}
// ACTIONS:
require_once dirname(__FILE__) . '/config.simpletest.php';
/**
 * Our GroupTest
 */
$test = new EvoGroupTest('evo Tests Suite');
switch ($action) {
    case 'all':
        $test->loadAllTests(dirname(__FILE__) . '/blogs/');
        $test->loadAllTests(dirname(__FILE__) . '/general/');
        $test->loadAllTests(dirname(__FILE__) . '/install');
        break;
}
$test->run(new EvoHtmlReporter(), new EvoTextReporter());
示例#2
0
<?php

/**
 * This is the file to do all evoCore tests.
 * @package tests
 */
/**
 * Load config
 */
require_once dirname(__FILE__) . '/../config.simpletest.php';
/**
 * Our GroupTest
 */
$test = new EvoGroupTest('evo-Core Tests Suite');
$test->loadAllTests(dirname(__FILE__));
$test->run(new EvoHtmlReporter(), new EvoTextReporter());