Sha256: 9b909d681a9e2f652245fb1f9b0db980488ed3950744ed46e929f5fd0082ad78

Contents?: true

Size: 871 Bytes

Versions: 6

Compression:

Stored size: 871 Bytes

Contents

---

Test the import strategy: !S::Suite
  contents:

    - Basic: !S::Import
        import: '<<pwd>>/exit.yml'

    - Generate a test: !S::Block
        fatal: true
        weight: 0
        test: |
          tmp = TempPath.new('import', 'yml')
          @symtbl[:tmp] = tmp.expand_path
          tmp.open('w') do |tmp|
            tmp << '--- A bad test: !S::Fail {}'
          end

    - Test the generated test: !S::RMatch
        test: !S::Import
          import: '<<tmp>>'
        match:
          - //A bad test/status/FAIL
          - //status/FAIL

    - Clean: !S::Block
        fatal: true
        test: '@symtbl[:tmp].unlink'

    - Bad pwd handling: !S::Suite

        contents:

          - Basic 1: !S::Import
             loader: Ruby
             import: '<<pwd>>/../ruby/wc.rb'

          - Basic 2: !S::Import
             import: '<<pwd>>/wc.yml'


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
uttk-0.3.5.0 test/functional/import.yml
uttk-0.3.6.1 test/functional/import.yml
uttk-0.3.1.2 test/functional/import.yml
uttk-0.4.6.1 test/functional/import.yml
uttk-0.4.6.2 test/functional/import.yml
uttk-0.4.5.0 test/functional/import.yml