Custom SimpleCov formatter to generate a lcov style coverage.
require 'simplecov' require 'simplecov-lcov' SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter SimpleCov.startOutput report as single file.
require 'simplecov' require 'simplecov-lcov' 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' endContributing to simplecov-lcov
Copyright (c) 2014 fortissimo1997. See LICENSE.txt for
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4