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



21
22
23
24
# File 'lib/drntest/test-loader.rb', line 21

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

Instance Method Details

#loadObject



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

def load
  load_test_file(@test_path)
end