Skip to content

LCOV formatter for SimpleCov. Successor of simplecov-lcov.

License

Notifications You must be signed in to change notification settings

t-mario-y/simplecov_lcov_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplecov_lcov_formatter

LCOV formatter for SimpleCov. Successor of simplecov-lcov.

Usage

Output report per file:

require 'simplecov'
require 'simplecov_lcov_formatter'
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start

Output report as single file:

require 'simplecov'
require 'simplecov_lcov_formatter'
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start

Other available configuration options for single file report:

SimpleCov::Formatter::LcovFormatter.config do |c|
  c.output_directory = 'your/path' # default: "coverage/lcov"
  c.lcov_file_name = 'lcov.info' # default: "YOUR_PROJECT_NAME.lcov"
  c.single_report_path = 'your/path/lcov.info'
end

Contributing

TBD

About

LCOV formatter for SimpleCov. Successor of simplecov-lcov.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages