Class: RSpec::Bisect::Reporters::ConsoleReporter
- Inherits:
-
Object
- Object
- RSpec::Bisect::Reporters::ConsoleReporter
show all
- Includes:
- Reporter
- Defined in:
- lib/rspec/bisect/reporters/console_reporter.rb
Instance Method Summary
collapse
Methods included from Reporter
#culprits, #determining_culprits, #failing_tests, #order_dependent_examples, #seed
Instance Method Details
#report(text) ⇒ Object
9
10
11
|
# File 'lib/rspec/bisect/reporters/console_reporter.rb', line 9
def report(text)
puts text
end
|
#report_failure(text) ⇒ Object
17
18
19
|
# File 'lib/rspec/bisect/reporters/console_reporter.rb', line 17
def report_failure(text)
report text.red
end
|
#report_success(text) ⇒ Object
13
14
15
|
# File 'lib/rspec/bisect/reporters/console_reporter.rb', line 13
def report_success(text)
report text.green
end
|