Sha256: 15637bd065f08442df62fbfbe64d39d155152d74ce68aa423a3a83405ec2074b

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

# TestDiff module
module TestDiff
  # class used to build the coverage file
  class BuildCoverage
    def initialize(spec_folder, pre_load, stop_on_failure, only_missing)
      @spec_folder = spec_folder
      @pre_load = pre_load
      @batch_queue = Queue.new
      @stop_on_failure = stop_on_failure
      @only_missing = only_missing
    end

    def run
      RunableTests.add_all(@spec_folder, @batch_queue, @only_missing)
      CoverageRunner.run(@batch_queue, @pre_load, !@stop_on_failure)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
test_diff-0.6.0 lib/test_diff/build_coverage.rb
test_diff-0.5.0 lib/test_diff/build_coverage.rb