diff --git a/application/config/application.php b/application/config/application.php index 49fb77da..efe0b20a 100644 --- a/application/config/application.php +++ b/application/config/application.php @@ -92,7 +92,6 @@ 'Response' => 'System\\Response', 'Session' => 'System\\Session', 'Str' => 'System\\Str', - 'Test' => 'System\\Test', 'Text' => 'System\\Text', 'View' => 'System\View', ), diff --git a/system/test.php b/system/test.php deleted file mode 100644 index 36cecd1c..00000000 --- a/system/test.php +++ /dev/null @@ -1,65 +0,0 @@ - $test) - { - if ( ! is_callable($test)) - { - throw new \Exception("Test [$name] in suite [$suite] is not callable."); - } - - static::$passed = ($result = call_user_func($test)) ? static::$passed + 1 : static::$passed; - static::$results[$suite][] = array('name' => $name, 'result' => $result); - } - } - - /** - * Get the test report view. - * - * @return View - */ - public static function report() - { - return View::make('test/report') - ->bind('results', static::$results) - ->bind('passed', static::$passed) - ->bind('total', static::$total); - } - -} \ No newline at end of file diff --git a/system/tests/.gitignore b/system/tests/.gitignore deleted file mode 100644 index e69de29b..00000000 diff --git a/system/views/test/report.php b/system/views/test/report.php deleted file mode 100644 index ab781a22..00000000 --- a/system/views/test/report.php +++ /dev/null @@ -1,80 +0,0 @@ - - -
- -