Flow PHP

SuiteOutcomeStack

FinalYes

Aggregates finished-test statuses per open test suite so the suite span can carry the official `test.suite.run.status` attribute. Suites nest, so every finished test counts towards all currently open suites.

Tags
see
https://opentelemetry.io/docs/specs/semconv/registry/attributes/test/

Methods

pop()  : null|string
push()  : void
recordStatus()  : void
size()  : int

Methods

pop()

public pop() : null|string
Return values
null|string

one of the test.suite.run.status well-known values: success|failure|skipped

recordStatus()

public recordStatus(string $status) : void
Parameters
$status : string
On this page

Search results