Class: MutationTester::Reporters::ConsoleReporter
- Inherits:
-
BaseReporter
- Object
- BaseReporter
- MutationTester::Reporters::ConsoleReporter
- Defined in:
- lib/mutation_tester/reporters/console_reporter.rb
Instance Attribute Summary
Attributes inherited from BaseReporter
#config, #results, #source_file, #spec_file
Instance Method Summary collapse
Methods inherited from BaseReporter
#initialize, #interrupted?, score, status_for
Constructor Details
This class inherits a constructor from MutationTester::Reporters::BaseReporter
Instance Method Details
#generate ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/mutation_tester/reporters/console_reporter.rb', line 4 def generate puts "\n" + Rainbow('=' * 80).bright puts Rainbow('🧬 MUTATION TESTING REPORT').bright.cyan puts Rainbow('=' * 80).bright print_summary print_survived_mutations if survived_count > 0 puts "\n" + Rainbow('=' * 80).bright end |