mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
#17528788 : unittest framework added
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6001 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea7c87ec0d
commit
7619bce790
99 changed files with 31041 additions and 0 deletions
15
tests/simpletest/test/detached_test.php
Normal file
15
tests/simpletest/test/detached_test.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
// $Id: detached_test.php 1505 2007-04-30 23:39:59Z lastcraft $
|
||||
require_once('../detached.php');
|
||||
require_once('../reporter.php');
|
||||
|
||||
// The following URL will depend on your own installation.
|
||||
$command = 'php ' . dirname(__FILE__) . '/visual_test.php xml';
|
||||
|
||||
$test = &new TestSuite('Remote tests');
|
||||
$test->addTestCase(new DetachedTestCase($command));
|
||||
if (SimpleReporter::inCli()) {
|
||||
exit ($test->run(new TextReporter()) ? 0 : 1);
|
||||
}
|
||||
$test->run(new HtmlReporter());
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue