Class: Loupe::PagedReporter

Inherits:
Reporter show all
Defined in:
lib/loupe/paged_reporter.rb

Overview

Pager

This class is responsible for paginating the test failures, and implementing an interface for interacting with them.

Instance Attribute Summary

Attributes inherited from Reporter

#expectation_count, #failure_count, #failures, #success_count, #test_count

Instance Method Summary collapse

Methods inherited from Reporter

#<<, #exit_status, #increment_expectation_count, #increment_failure_count, #increment_success_count, #increment_test_count, #initialize

Constructor Details

This class inherits a constructor from Loupe::Reporter

Instance Method Details

This method returns an undefined value.



12
13
14
15
16
17
18
# File 'lib/loupe/paged_reporter.rb', line 12

def print_summary
  @current_page = 0
  @console = IO.console
  @runtime = Time.now - @start_time
  @running = true
  page
end