/spec/runner.php
PHP | 19 lines | 15 code | 3 blank | 1 comment | 0 complexity | fff07df44e3c2a23806ba41507bcf026 MD5 | raw file
- <?php
- require 'spec_helper.php';
-
- class AllTests extends TestSuite {
- function AllTests() {
- $this->TestSuite('All tests');
-
- $tests = array_merge(
- glob(dirname(__FILE__).'/*_test.php'),
- glob(dirname(__FILE__).'/*_spec.php')
- // glob(dirname(__FILE__).'/loader_spec.php')
- );
-
- foreach ($tests as $test) {
- $this->addFile($test);
- }
- }
- }
- ?>