Class: Protest::Reports::Turn

Inherits:
Protest::Report show all
Defined in:
lib/protest/reports/turn.rb

Overview

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.

Constant Summary collapse

PASS =
"PASS"
FAIL =
"FAIL"
ERROR =
"ERROR"
PENDING =
"PENDING"

Instance Attribute Summary

Attributes inherited from Protest::Report

#stream

Method Summary

Methods inherited from Protest::Report

#add_assertion, #assertions, #errors, #failures, #failures_and_errors, #initialize, on, #passes, #pendings, #tests, #time_elapsed, #total_tests

Methods included from Utils::ColorfulOutput

colors, #print, #puts

Methods included from Utils::Summaries

#summarize_errors, #summarize_pending_tests, #summarize_test_totals

Constructor Details

This class inherits a constructor from Protest::Report