
Skip to the results |
Re-run without remote tests';
else echo 'Re-run with remote tests';
?>
load_folder($test);
$master->add($test_group);
}
$test_group = new SimplePie_Unit_Test2_Group('Who knows a
from a hole in the ground?');
$test_group->load_folder('who_knows_a_title_from_a_hole_in_the_ground');
$master->add($test_group);
$test_group = new SimplePie_Unit_Test2_Group('iTunesRSS');
$test_group->load_folder('itunes_rss');
$master->add($test_group);
if (isset($_GET['remote']))
{
$test_group = new SimplePie_Unit_Test2_Group('Atom autodiscovery test suite');
$test_group->add(new diveintomark_Atom_Autodiscovery);
$master->add($test_group);
}
$master->run();
$passed_percentage = floor($master->passes() / $master->total() * 100);
$failed_percentage = ceil($master->fails() / $master->total() * 100);
?>
>% passed!
We ran ' . $master->total() . ' tests in ' . round($master->time(), 3) . ' seconds (' . round($master->time() / $master->total(), 3) . ' seconds per test) of which ' . $master->passes() . ' (' . $passed_percentage . '%) were passed, and ' . $master->fails() . ' (' . $failed_percentage . '%) were failed.'; ?>
Powered by . SimplePie is © 2004–, Ryan Parman and Geoffrey Sneddon, and licensed under the BSD License.