simplecov-ruby/simplecov

View on GitHub
test_projects/faked_project/features/support/env.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require "bundler/setup"

# We're injecting simplecov_config via aruba in cucumber here
# depending on what the test case is...
begin
  require File.join(File.dirname(__FILE__), "simplecov_config")
rescue LoadError
  warn "No SimpleCov config file found!"
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "/../../lib"))
require "faked_project"