Sha256: 3c3161839b71d73babffea399ee1ab1e0939f3c57d9a73d961fce8fb2ae048ba

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

module Fivemat
  autoload :Cucumber, 'fivemat/cucumber'
  autoload :MiniTest, 'fivemat/minitest/unit'
  autoload :RSpec, 'fivemat/rspec'
  autoload :Spec, 'fivemat/spec'

  def self.new(*args)
    case args.size
    when 0 then MiniTest::Unit
    when 1 then RSpec
    when 2 then Spec
    when 3 then Cucumber
    else
      raise ArgumentError
    end.new(*args)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fivemat-1.1.0 lib/fivemat.rb