Sha256: 35981ebb17d7910c96b96453feac08dcde3223c32caf61bd03e01c0c7f58c112

Contents?: true

Size: 845 Bytes

Versions: 8

Compression:

Stored size: 845 Bytes

Contents

module TestIdsDev
  class Interface
    include OrigenTesters::ProgramGenerators

    def initialize(options = {})
      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 |options|
            options[:softbin] * 100
          end
        end

      when 2
        TestIds.configure id: :cfg2 do |config|
          config.bins.include << (5..16)
          config.softbins = :bbxxx
        end
      end
    end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
test_ids-1.2.3 lib/test_ids_dev/interface.rb
test_ids-1.2.2 lib/test_ids_dev/interface.rb
test_ids-1.2.1 lib/test_ids_dev/interface.rb
test_ids-1.2.0 lib/test_ids_dev/interface.rb
test_ids-1.1.2 lib/test_ids_dev/interface.rb
test_ids-1.1.1 lib/test_ids_dev/interface.rb
test_ids-1.1.0 lib/test_ids_dev/interface.rb
test_ids-1.0.0 lib/test_ids_dev/interface.rb