Class: Webspicy::Tester::Reporter::FileProgress

Inherits:
Webspicy::Tester::Reporter show all
Defined in:
lib/webspicy/tester/reporter/file_progress.rb

Constant Summary

Constants inherited from Webspicy::Tester::Reporter

ErrorCount, HOOKS

Instance Attribute Summary

Attributes inherited from Webspicy::Tester::Reporter

#io, #tester

Instance Method Summary collapse

Methods inherited from Webspicy::Tester::Reporter

#find, #init, #initialize

Methods included from Support::Colorize

colorize, colorize_error, colorize_highlight, colorize_section, colorize_success

Constructor Details

This class inherits a constructor from Webspicy::Tester::Reporter

Instance Method Details

#reportObject



16
17
18
19
20
# File 'lib/webspicy/tester/reporter/file_progress.rb', line 16

def report
  io.puts
  io.puts
  io.flush
end

#spec_file_doneObject



11
12
13
14
# File 'lib/webspicy/tester/reporter/file_progress.rb', line 11

def spec_file_done
  io.print colorize_success(".", config)
  io.flush
end

#spec_file_error(e) ⇒ Object



6
7
8
9
# File 'lib/webspicy/tester/reporter/file_progress.rb', line 6

def spec_file_error(e)
  io.print colorize_error("X", config)
  io.flush
end