Sha256: a9dbd68b46e57d510c0cc649b7bda9fa7e329c1926fe1b27404927f0bd1ac7a1
Contents?: true
Size: 646 Bytes
Versions: 12
Compression:
Stored size: 646 Bytes
Contents
# Starts SimpleCov for code coverage. if ENV["COVERAGE"] require "simplecov" # Using a command name prevents results from getting clobbered by other test suites example_name = File.basename(File.expand_path("../../../.", __FILE__)) SimpleCov.command_name(example_name) SimpleCov.start("rails") do # Consider the entire gem project as the root # (typically this will be the folder named "react_on_rails") gem_root_path = File.expand_path("../../../../.", __FILE__) root gem_root_path # Don't report anything that has "spec" in the path add_filter do |src| src.filename =~ %r{\/spec\/} end end end
Version data entries
12 entries across 12 versions & 1 rubygems