Sha256: 0f135c4bec62b3229775633a42a94420a9427c14f98fa54fdeafa716d6f5d55b

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

unless RUBY_ENGINE == 'rbx' # coverage support is broken on rbx
  require 'simplecov'
  SimpleCov.start do
    minimum_coverage 98
    add_group "Sources", "lib"
    add_group "Tests", "spec"
  end
end

require 'bashcov'

def test_app
  File.expand_path("../test_app", __FILE__)
end

def scripts
  "#{test_app}/scripts"
end

def test_suite
  "#{test_app}/test_suite.sh"
end

def executed_files
  Dir["#{scripts}/**/*"].select { |file| File.file? file }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bashcov-0.0.1 spec/spec_helper.rb