Sha256: cbaaad495babbeac5f349ba12b1ff6fe5937e5bbd5dfc9482a9d26eac38c7656

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

# TestDiff module
module TestDiff
  # module for test runners
  module TestRunner
    # class to run rspec tests
    class Rspec
      def run_tests(specs)
        if specs.any?
          STDERR.puts "bundle exec rspec #{specs.join(' ')}"
          exec "bundle exec rspec #{specs.join(' ')}"
        else
          puts 'no specs found to run'
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
test_diff-0.6.0 lib/test_diff/test_runner/rspec.rb
test_diff-0.5.0 lib/test_diff/test_runner/rspec.rb
test_diff-0.4.2 lib/test_diff/test_runner/rspec.rb
test_diff-0.4.1 lib/test_diff/test_runner/rspec.rb
test_diff-0.4.0 lib/test_diff/test_runner/rspec.rb
test_diff-0.3.4 lib/test_diff/test_runner/rspec.rb
test_diff-0.3.3 lib/test_diff/test_runner/rspec.rb