Sha256: edf001c934b61bb0c43ba9cc8c908db95f8ca306d2ebd7c10d779eceb582d1a0

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

class SimpleCov::Formatter::QualityFormatter
  def format(result)
    SimpleCov::Formatter::HTMLFormatter.new.format(result)
    File.open("coverage/covered_percent", "w") do |f|
      f.puts result.source_files.covered_percent.to_f
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
modis-1.1.0 spec/support/simplecov_quality_formatter.rb
modis-1.0.0 spec/support/simplecov_quality_formatter.rb
modis-0.0.1 spec/support/simplecov_quality_formatter.rb