Class: TestIdsDev::Interface

Inherits:
Object
  • Object
show all
Includes:
OrigenTesters::ProgramGenerators
Defined in:
lib/test_ids_dev/interface.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Interface

Returns a new instance of Interface.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/test_ids_dev/interface.rb', line 5

def initialize(options = {})
  case dut.test_ids
  when 1
    TestIds.configure do |config|
      # Example of testing remote repo
      # config.repo = 'ssh://[email protected]/~r49409/test_ids_repo.git'
      config.bins.include << 3
      config.bins.include << (10..20)
      config.bins.exclude << 15
      config.softbins = :bbbxx
      config.numbers do |bin, softbin|
        softbin * 100
      end
    end
  end
end

Instance Method Details

#func(name, options = {}) ⇒ Object



22
23
24
# File 'lib/test_ids_dev/interface.rb', line 22

def func(name, options = {})
  flow.test(name, options)
end