\PHPUnit_Extensions_PhptTestCase

Runner for PHPT test cases.

Synopsis

class PHPUnit_Extensions_PhptTestCase implements PHPUnit_Framework_Test,PHPUnit_Framework_SelfDescribing {
}

Hierarchy

Members

private

  • $filename — string
  • $settings — array

Methods

private

public

  • __construct() — Constructs a test case with the given filename.
  • count() — Counts the number of test cases executed by run(TestResult result).
  • getName() — Returns the name of the test case.
  • run() — Runs a test and collects its result in a TestResult instance.
  • toString() — Returns a string representation of the test case.

History