PageRenderTime 199ms CodeModel.GetById 25ms RepoModel.GetById 2ms app.codeStats 0ms

/spec/runner.php

http://github.com/speedmax/h2o-php
PHP | 19 lines | 15 code | 3 blank | 1 comment | 0 complexity | fff07df44e3c2a23806ba41507bcf026 MD5 | raw file
  1. <?php
  2. require 'spec_helper.php';
  3. class AllTests extends TestSuite {
  4. function AllTests() {
  5. $this->TestSuite('All tests');
  6. $tests = array_merge(
  7. glob(dirname(__FILE__).'/*_test.php'),
  8. glob(dirname(__FILE__).'/*_spec.php')
  9. // glob(dirname(__FILE__).'/loader_spec.php')
  10. );
  11. foreach ($tests as $test) {
  12. $this->addFile($test);
  13. }
  14. }
  15. }
  16. ?>