Sha256: 5a2f9514efa3cdc0b11219965fc26eba0ada11ab90e1a1a5962ee291fdfb9630
Contents?: true
Size: 554 Bytes
Versions: 3
Compression:
Stored size: 554 Bytes
Contents
# frozen_string_literal: true module Yardcheck class TestRunner include Concord.new(:arguments) def wrap_test(wrapper) RSpec.configure do |config| config.around do |test| wrapper.call(&test) end end end def run runner.run_specs(RSpec.world.ordered_example_groups) end private def runner RSpec::Core::Runner.new(RSpec::Core::ConfigurationOptions.new(arguments)).tap do |runner| runner.setup($stderr, $stdout) end end end # TestRunner end # Yardcheck
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yardcheck-0.0.3 | lib/yardcheck/test_runner.rb |
yardcheck-0.0.2 | lib/yardcheck/test_runner.rb |
yardcheck-0.0.1 | lib/yardcheck/test_runner.rb |