예제 #1
0
파일: unittest.php 프로젝트: banks/unittest
 public function action_index()
 {
     // Display all Unit tests found by default
     $tests = NULL;
     if ($this->request->param('test_dir') !== NULL) {
         $tests = UnitTest::find_tests($this->request->param('test_dir'));
     }
     // Display requested tests
     $this->request->response = UnitTest::factory($tests)->run();
 }