Module: Spinoff::TestRunner
- Defined in:
- lib/spinoff/test_runner.rb,
lib/spinoff/test_runner/rspec.rb,
lib/spinoff/test_runner/test_unit.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.init(framework) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/spinoff/test_runner.rb', line 3 def self.init(framework) STDERR.puts "Test framework: #{framework}" case framework when :rspec require 'spinoff/test_runner/rspec' Spinoff::TestRunner::RSpec.new when :testunit require 'spinoff/test_runner/test_unit' Spinoff::TestRunner::TestUnit.new end end |