Sha256: c6b393f75217aa04f46cee5728c30d4a7842ecc0ad9a52e5f24d20c6c0e45b5b

Contents?: true

Size: 1.94 KB

Versions: 1

Compression:

Stored size: 1.94 KB

Contents

Feature: App inserts bleed correctly
  Simple test to validate that the bleed around tiles
  is added correctly when running the full executable

  Scenario: Insert bleed has help
    When I get help for bleed insert
    Then the exit status should be 0

  Scenario: Insert bleed without margin
    When I insert bleed to test data "simple_no_margin.png"
    Then I type "16"
    Then I type "16"
    Then I type "0"
    Then I type "0"
    Then I type "0"
    Then the exit status should be 1
    Then the output should contain "Current implementation needs an existing margin"

  Scenario: Insert bleed generate default output
    When I insert bleed to test data "simple_with_margin.png"
    Then I type "16"
    Then I type "16"
    Then I type "1"
    Then I type "0"
    Then I type "0"
    Then the exit status should be 0
    Then generated file should be the same as data result "simple_with_margin.png"

  Scenario: Insert bleed specific output
    When I insert bleed to test data "simple_with_margin.png" and output to "test_output.png"
    Then I type "16"
    Then I type "16"
    Then I type "1"
    Then I type "0"
    Then I type "0"
    Then the exit status should be 0
    Then generated file should be the same as data result "simple_with_margin.png"

  Scenario: Insert bleed with specs
    When I insert bleed to test data "simple_with_specs.png"
    Then the exit status should be 0
    Then generated file should be the same as data result "simple_with_specs.png"

  Scenario: Insert bleed with bad specs
    When I insert bleed to test data "simple_with_bad_specs.png"
    Then the exit status should be 1

  Scenario: Insert bleed with skipped specs
    When I insert bleed to test data "simple_with_bad_specs.png" and skip specs loading
    Then I type "16"
    Then I type "16"
    Then I type "1"
    Then I type "0"
    Then I type "0"
    Then the exit status should be 0
    Then generated file should be the same as data result "simple_with_bad_specs.png"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tileset_tooling-0.0.2 features/insert_bleed.feature