kettle-soup-cover v1.1.0 released!
1.1.0 - 2025-12-28
- TAG: v1.1.0
- COVERAGE: 93.62% – 132/141 lines in 10 files
- BRANCH COVERAGE: 53.33% – 16/30 branches in 10 files
- 15.56% documented
Added
- When
ENV["MAX_ROWS"] == "0", explicitly, skip simplecov-console TTY output. - Script
exe/kettle-soup-covergenerates coverage report- defaults to reading
$K_SOUP_COV_DIR/coverage.json - prints a summarized report
- accepts
-p/--pathor a positional path to coverage.json - requires the
jsonformatter be configured in$K_SOUP_COV_FORMATTERS(or an explicit JSON path as above).
- defaults to reading
Changed
- Coverage merging is now enabled by default -
USE_MERGINGdefaults totrue- Essential for projects that split tests into multiple rake tasks
- Set
K_SOUP_COV_USE_MERGING=falseto disable - Aggregate coverage from multiple test runs (e.g., FFI specs, integration specs, unit specs) when uniquely named:
-
# Matrix checks will run in between FFI and MRI desc("Run Backend Matrix Specs") RSpec::Core::RakeTask.new(:backend_matrix_specs) do |t| t.pattern = "./spec_matrix/**/*_spec.rb" end desc("Set SimpleCov command name for backend matrix specs") task(:set_matrix_command_name) do ENV["K_SOUP_COV_COMMAND_NAME"] = "Backend Matrix Specs" end Rake::Task[:backend_matrix_specs].enhance([:set_matrix_command_name])
- Merge timeout -
MERGE_TIMEOUTdefaults to 3600 seconds (1 hour)- Sufficient for most test suites to complete all split tasks
- Set
K_SOUP_COV_MERGE_TIMEOUTto override
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?