Class: TestQueue::TestFramework::Example

Inherits:
TestQueue::TestFramework show all
Defined in:
lib/test_queue/runner/example.rb

Constant Summary

Constants inherited from TestQueue::TestFramework

MiniTest

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Example

Returns a new instance of Example.



39
40
41
42
43
# File 'lib/test_queue/runner/example.rb', line 39

def initialize(args)
  super()

  @args = args.map(&:to_s)
end

Instance Method Details

#all_suite_filesObject



45
46
47
# File 'lib/test_queue/runner/example.rb', line 45

def all_suite_files
  @args
end

#suites_from_file(_path) ⇒ Object



49
50
51
# File 'lib/test_queue/runner/example.rb', line 49

def suites_from_file(_path)
  @args.map { |i| [i, i] }
end