Sha256: fb9f6c98dcd94e06adf239efbd6f76137a6ce0baba6aaf2266cb3f7c8025da1a

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "oneshot_coverage"
require "oneshot_coverage/logger/file_logger"

OneshotCoverage.configure(
  target_path: Dir.pwd,
  logger: OneshotCoverage::Logger::FileLogger.new('coverage.json'),
  emit_term: nil,
  cover_bundle_path: ENV["COVER_BUNDLE_PATH"] == "1",
)

OneshotCoverage.start

require "minitest"
require_relative "adder"

Adder.new(1, 2).call

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oneshot_coverage-0.4.1 target_app/cover_code_test.rb