Test run: '.date('d.m.Y H:i').'
'; foreach(get_class_methods(get_class($this)) as $method) { if (preg_match('#^test.*#', $method)) { $ok = true; try { $result = $this->$method(); } catch (TestFailedException $tfex) { $result = $tfex->getMessage(); $ok = false; } if ($ok) $output .= $method.': OK ('.$result.')