Class: TestIdsDev::Interface
- Inherits:
-
Object
- Object
- TestIdsDev::Interface
- Includes:
- OrigenTesters::ProgramGenerators
- Defined in:
- lib/test_ids_dev/interface.rb
Instance Method Summary collapse
- #func(name, options = {}) ⇒ Object
-
#initialize(_options = {}) ⇒ Interface
constructor
A new instance of Interface.
Constructor Details
#initialize(_options = {}) ⇒ Interface
Returns a new instance of Interface.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/test_ids_dev/interface.rb', line 7 def initialize( = {}) case dut.test_ids when 1 TestIds.configure id: :cfg1 do |config| # Example of testing remote repo # config.repo = 'ssh://git@sw-stash.freescale.net/~r49409/test_ids_repo.git' config.bins.include << 3 config.bins.include << (10..20) config.bins.exclude << 15 config.softbins = :bbbxx config.numbers needs: :softbin do || [:softbin] * 100 end end when 2 TestIds.configure id: :cfg2 do |config| config.bins.include << (5..16) config.softbins = :bbxxx end end end |
Instance Method Details
#func(name, options = {}) ⇒ Object
30 31 32 |
# File 'lib/test_ids_dev/interface.rb', line 30 def func(name, = {}) flow.test(name, ) end |