Sha256: 769c736fbf476cce0120306a0ca4f433b34beb5a206cf098aa0f85c438487895
Contents?: true
Size: 525 Bytes
Versions: 130
Compression:
Stored size: 525 Bytes
Contents
require "rubygems" require "minitest/spec" require "minitest/autorun" # Get coverage report require "simplecov" SimpleCov.start # Add '../lib' to the require path. $: << File.join(File.dirname(__FILE__), "..", "lib") def use(path) puts "Loading tests from #{path}" require File.expand_path(path) end dirname = File.dirname(__FILE__) use File.join(dirname, "docs.rb") # Load tests from ./*/**/*.rb (usually ./libraryname/....) glob = File.join(dirname, "*", "**", "*.rb") Dir.glob(glob).each do |path| use path end
Version data entries
130 entries across 126 versions & 21 rubygems