Class Turn::Reporter
In: lib/turn/reporter.rb
Parent: Object

There are two distinct way in which a report may be utilized by a Runner: per-call or per-file. The method pass, fail and error are generic, and will be used in either case. A per-call runner will use all the methods of a Reporter, while a per-file runner will use start_case per file, and will not use the start_test and finish_test methods, since those are beyond it‘s grainularity.

Methods

Included Modules

Colorize

Attributes

io  [R]  Where to send report, defaults to `$stdout`.

Public Class methods

Public Instance methods

Invoked when a test raises an exception.

Invoked when a test raises an assertion.

Invoked after all tests in a testcase have ben run.

After all tests are run, this is the last observable action.

Invoked after a test has been run.

Invoked when a test passes.

Invoked when a test is skipped.

Invoked before a testcase is run.

At the very start, before any testcases are run, this is called.

Invoked before a test is run.

[Validate]