Class: SimpleCov::Formatter::ReviewFormatter
- Inherits:
-
Object
- Object
- SimpleCov::Formatter::ReviewFormatter
- Defined in:
- lib/simplecov-review.rb,
lib/simplecov-review/version.rb
Overview
Simple formatter to report missing coverage for reporting tools
Constant Summary collapse
- VERSION =
'0.3.0'
Instance Method Summary collapse
Instance Method Details
#format(result) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/simplecov-review.rb', line 12 def format(result) File.open(export_path, 'w') do |output_file| result.files.each do |file| find_missing_groups(file).each do |lines| output_file << error_for(file, lines) end end end end |