source: trunk/server/www/vendors/simpletest/test/detached_test.php @ 6

Last change on this file since 6 was 6, checked in by sander, 11 years ago

Added SimpleTest? test framework

File size: 471 bytes
Line 
1<?php
2// $Id: detached_test.php 1505 2007-04-30 23:39:59Z lastcraft $
3require_once('../detached.php');
4require_once('../reporter.php');
5
6// The following URL will depend on your own installation.
7$command = 'php ' . dirname(__FILE__) . '/visual_test.php xml';
8
9$test = &new TestSuite('Remote tests');
10$test->addTestCase(new DetachedTestCase($command));
11if (SimpleReporter::inCli()) {
12    exit ($test->run(new TextReporter()) ? 0 : 1);
13}
14$test->run(new HtmlReporter());
15?>
Note: See TracBrowser for help on using the repository browser.