Documentation

PHPUnit_Extensions_TicketListener
in package
implements PHPUnit_Framework_TestListener

Base class for test listeners that interact with an issue tracker.

Tags
since

Class available since Release 3.4.0

Interfaces, Classes and Traits

PHPUnit_Framework_TestListener
A Listener for test progress.

Table of Contents

$ran  : bool
$ticketCounts  : array<string|int, mixed>
addError()  : mixed
An error occurred.
addFailure()  : mixed
A failure occurred.
addIncompleteTest()  : mixed
Incomplete test.
addRiskyTest()  : mixed
Risky test.
addSkippedTest()  : mixed
Skipped test.
endTest()  : mixed
A test ended.
endTestSuite()  : mixed
A test suite ended.
startTest()  : mixed
A test started.
startTestSuite()  : mixed
A test suite started.
getTicketInfo()  : mixed
updateTicket()  : mixed

Properties

$ticketCounts

protected array<string|int, mixed> $ticketCounts = array()

Methods

getTicketInfo()

protected abstract getTicketInfo([mixed $ticketId = null ]) : mixed
Parameters
$ticketId : mixed = null
Return values
mixed

updateTicket()

protected abstract updateTicket(string $ticketId, string $newStatus, string $message, string $resolution) : mixed
Parameters
$ticketId : string
$newStatus : string
$message : string
$resolution : string
Return values
mixed

Search results