Class: OsCtl::Image::TestList

Inherits:
Array
  • Object
show all
Defined in:
lib/osctl/image/test_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(base_dir) ⇒ TestList

Returns a new instance of TestList.

Parameters:

  • base_dir (String)


4
5
6
7
8
9
10
# File 'lib/osctl/image/test_list.rb', line 4

def initialize(base_dir)
  super()

  Operations::Config::ParseList.run(base_dir, :test).each do |name|
    self << Test.new(base_dir, name)
  end
end