Module: Specdown::TerminalReporter

Defined in:
lib/specdown/reporter/terminal_reporter.rb

Instance Method Summary collapse

Instance Method Details

#failureObject



7
8
9
# File 'lib/specdown/reporter/terminal_reporter.rb', line 7

def failure
  "F"
end


15
16
17
# File 'lib/specdown/reporter/terminal_reporter.rb', line 15

def print_failure(test)
  print failure
end


11
12
13
# File 'lib/specdown/reporter/terminal_reporter.rb', line 11

def print_success(test)
  print success
end


19
20
21
22
23
# File 'lib/specdown/reporter/terminal_reporter.rb', line 19

def print_summary(runners)
  @report_summary = summary(runners)
  bounding = binding rescue proc {}
  template.run bounding
end

#successObject



3
4
5
# File 'lib/specdown/reporter/terminal_reporter.rb', line 3

def success
  "."
end