Module: OyenCov

Defined in:
lib/oyencov.rb,
lib/oyencov/cli.rb,
lib/oyencov/logger.rb,
lib/oyencov/railtie.rb,
lib/oyencov/version.rb,
lib/oyencov/background.rb,
lib/oyencov/configuration.rb,
lib/oyencov/api_connection.rb,
lib/oyencov/test_reporting.rb,
lib/oyencov/test_report_merger.rb,
lib/oyencov/controller_tracking.rb,
lib/oyencov/coverage_peek_delta.rb,
lib/oyencov/method_range_parser.rb,
lib/oyencov/simplecov_resultset_translator.rb

Overview

This is meant to be run at the end of the fan-out jobs, and the output

artefacts are meant to be persisted for the next job in the workflow.

It’s possible the full codebase isn’t pulled in the final summarising

job. User can opt to just `gem install oyencov` and do the collation
and submission with just the gem.

The code should be similar to ‘CoveragePeekDelta`.

A simplecov .resultset.json file looks like this:

“‘ $test_tool (e.g. Minitest, RSpec) # can disregard

"coverage" # constant string
  $rb_filepath # root relative paths
    [null, 1, 2, null, ...] # raw `Coverage.result` output

“‘

Defined Under Namespace

Modules: ControllerTracking, CoveragePeekDelta, Logger, SimplecovResultsetTranslator, TestReportMerger Classes: APIConnection, Background, CLI, Configuration, MethodRangeParser, Railtie, TestReporting

Constant Summary collapse

VERSION =
"0.0.5".freeze

Class Method Summary collapse

Class Method Details

.configObject



8
9
10
# File 'lib/oyencov.rb', line 8

def self.config
  @config ||= OyenCov::Configuration.new
end