Class: Drntest::TestLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/drntest/test-loader.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, test_path) ⇒ TestLoader

Returns a new instance of TestLoader.



25
26
27
28
# File 'lib/drntest/test-loader.rb', line 25

def initialize(config, test_path)
  @config = config
  @test_path = test_path
end

Instance Method Details

#loadObject



30
31
32
# File 'lib/drntest/test-loader.rb', line 30

def load
  load_test_file(@test_path)
end