Sha256: a20be935e310a1f75377f0c1fc29647e70380dc7a213a41a169ea793c5f2b7ab
Contents?: true
Size: 469 Bytes
Versions: 12
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2019-2022, by Samuel Williams. # Copyright, 2022, by Adam Daniels. require_relative 'config' require 'minitest' $covered = Covered::Config.load module Covered module Minitest def run(*) $covered.enable super end end end if $covered.record? class << Minitest prepend Covered::Minitest end Minitest.after_run do $covered.disable $covered.call($stderr) end end
Version data entries
12 entries across 12 versions & 1 rubygems