summaryrefslogtreecommitdiff
path: root/tests/UnitTests/simpletest/test/all_tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/simpletest/test/all_tests.php')
-rw-r--r--tests/UnitTests/simpletest/test/all_tests.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/UnitTests/simpletest/test/all_tests.php b/tests/UnitTests/simpletest/test/all_tests.php
new file mode 100644
index 00000000..d5e8a9de
--- /dev/null
+++ b/tests/UnitTests/simpletest/test/all_tests.php
@@ -0,0 +1,31 @@
+<?php
+ // $Id: all_tests.php,v 1.20 2005/02/05 04:51:31 lastcraft Exp $
+ define('TEST', __FILE__);
+ require_once('../unit_tester.php');
+ require_once('../shell_tester.php');
+ require_once('../reporter.php');
+ require_once('../mock_objects.php');
+ require_once('unit_tests.php');
+
+ // Uncomment and modify the following line if you are accessing
+ // the net via a proxy server.
+ //
+ // SimpleTestOptions::useProxy('http://my-proxy', 'optional username', 'optional password');
+
+ class AllTests extends GroupTest {
+ function AllTests() {
+ $this->GroupTest('All tests for SimpleTest ' . SimpleTestOptions::getVersion());
+ $this->addTestCase(new UnitTests());
+ $this->addTestFile('shell_test.php');
+ $this->addTestFile('live_test.php');
+ $this->addTestFile('acceptance_test.php');
+ $this->addTestFile('real_sites_test.php');
+ }
+ }
+
+ $test = new AllTests();
+ if (SimpleReporter::inCli()) {
+ exit ($test->run(new TextReporter()) ? 0 : 1);
+ }
+ $test->run(new HtmlReporter());
+?> \ No newline at end of file