Skip to content

FailReporter

[Source]

Reporter for sub-PonyTest runs expected to fail.

Completes the given TestHelper with success when any test in the sub-run fails. If all tests pass, does nothing — the outer test's timeout handles the unexpected-pass case.

actor tag FailReporter

Constructors

create

[Source]

new tag create(
  h: TestHelper val)
: FailReporter tag^

Parameters

Returns


Public Behaviours

test_started

[Source]

be test_started(
  name: String val)

Parameters


test_complete

[Source]

be test_complete(
  result: TestResult val)

Parameters


testing_complete

[Source]

be testing_complete(
  results: Array[TestResult val] val)

Parameters