Sha256: ecb833c8f890d1bd93f5c760ee2546af4a2a24150977da1dd01e0854af44605e
Contents?: true
Size: 587 Bytes
Versions: 8
Compression:
Stored size: 587 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'pry' covered_path = ARGV[0] if covered_path $LOAD_PATH.unshift(covered_path) end require 'deep_cover' if covered_path.nil? covered_path = DeepCover::Tools.dump_covered_code_and_save('./lib', dest_path: '../covered_deep_cover') puts 'Covered code generation done. Output in', covered_path exec 'bin/selfcov', covered_path else coverage = DeepCover::Coverage.load(covered_path) require 'rspec' error = RSpec::Core::Runner::run(Dir.glob('./spec/*_spec.rb')) puts 'Lines not covered:', coverage.report binding.pry end
Version data entries
8 entries across 8 versions & 1 rubygems