class Protest::Reports::Turn

This report displays each test on a separate line with failures being displayed immediately instead of at the end of the tests.

You might find this useful when running a large test suite, as it can be very frustrating to see a failure (.…F…) and then have to wait until all the tests finish before you can see what the exact failure was.

This report is based on the output displayed by TURN, Test::Unit Reporter (New) by Tim Pease.

Constants

ERROR
FAIL
PASS
PENDING

Public Class Methods

new(stream=STDOUT) click to toggle source

Set the stream where the report will be written to. STDOUT by default.

# File lib/protest/reports/turn.rb, line 24
def initialize(stream=STDOUT)
  @stream = stream
end