Testing_DocTest
[ class tree: Testing_DocTest ] [ index: Testing_DocTest ] [ all elements ]

Class: Testing_DocTest_ReporterInterface

Source Location: /Testing_DocTest-0.6.0/Testing/DocTest/ReporterInterface.php

Class Overview


DocTest Reporter interface.


Author(s):

Version:

  • Release: 0.6.0

Copyright:

  • 2008 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 38]
DocTest Reporter interface.

All reporters must implement this interface.



[ Top ]


Method Detail

onBegin   [line 50]

void onBegin( array $suites)

Called when a doctest session begins.
  • Access: public

Parameters:

array   $suites   —  an array of Testing_DocTest_TestSuite instances

[ Top ]

onEnd   [line 167]

int onEnd( array $suites)

Called at the end of the DocTest session.
  • Access: public

Parameters:

array   $suites   —  an array of Testing_DocTest_TestSuite instances

[ Top ]

onTestCaseBegin   [line 76]

void onTestCaseBegin( Testing_DocTest_TestCase $case)

Called before the runner run a test case.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseEnd   [line 141]

void onTestCaseEnd( Testing_DocTest_TestCase $case)

Called when the runner finished a test case.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseError   [line 128]

void onTestCaseError( Testing_DocTest_TestCase $case)

Called when a test has errors.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseFail   [line 115]

void onTestCaseFail( Testing_DocTest_TestCase $case)

Called when a test failed.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCasePass   [line 89]

void onTestCasePass( Testing_DocTest_TestCase $case)

Called when a test passed.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseSkip   [line 102]

void onTestCaseSkip( Testing_DocTest_TestCase $case)

Called when a test was skipped by the runner.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestSuiteBegin   [line 63]

void onTestSuiteBegin( Testing_DocTest_TestSuite $suite)

Called before the runner starts running a suite.
  • Access: public

Parameters:

object   $suite   —  an instance of Testing_DocTest_TestSuite

[ Top ]

onTestSuiteEnd   [line 154]

void onTestSuiteEnd( Testing_DocTest_TestSuite $suite)

Called when the runner finished running the suite.
  • Access: public

Parameters:

object   $suite   —  an instance of Testing_DocTest_TestSuite

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:52:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.