3 interface PHPT_Reporter
6 * Called when the Reporter is started from a PHPT_Suite
8 * Use this method to display any start specific messages, such as number of tests
11 * @param PHPT_Suite $suite
14 public function onSuiteStart(PHPT_Suite
$suite);
17 * Called when the Reporter is finished in a PHPT_Suite
19 * Use this method to display any end specific messages such as pass/fail/skip tallies,
22 * @param PHPT_Suite $suite
25 public function onSuiteEnd(PHPT_Suite
$suite);
28 * Called when a Case is started
30 * @param PHPT_Case $case
33 public function onCaseStart(PHPT_Case
$case);
36 * Called when a Case ends
38 * @param PHPT_Case $case
41 public function onCaseEnd(PHPT_Case
$case);
44 * Called when a Case runs without Exception
46 * @param PHPT_Case $case
49 public function onCasePass(PHPT_Case
$case);
52 * Called when a PHPT_Case_VetoException is thrown during a Case's run()
54 * @param PHPT_Case $case
55 * @param PHPT_Case_VetoException $veto
58 public function onCaseSkip(PHPT_Case
$case, PHPT_Case_VetoException
$veto);
61 * Called when any Exception other than a PHPT_Case_VetoException is encountered
62 * during a Case's run()
64 * @param PHPT_Case $case
65 * @param PHPT_Case_FailureException $failure
68 public function onCaseFail(PHPT_Case
$case, PHPT_Case_FailureException
$failure);
70 public function onParserError(Exception
$exception);