Sha256: 6f40ff218251f4620f42bbf74a23fa6be239e3299e4be28700f95a619fd63488

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

Feature: Find files orphaned from xcproj

  Scenario: Help
    When I get help for "findxcprojorphan"
    Then the exit status should be 0
    And the banner should be present
    And the banner should document that this app takes options
    And the following options should be documented:
      | --version |
    And the banner should document that this app's arguments are:
      | xcproj_path | which is required |
      | files_glob  | which is required |

  Scenario: No orphaned files
    When I successfully process "NoOrphans/NoOrphans.xcodeproj" with "NoOrphans/**/*.m"
    Then the output should contain all of these lines:
      | No Orphaned Files! |

  Scenario: No orphaned files for that glob
    When I successfully process "Orphans/Orphans.xcodeproj" with "Orphans/**/*.foo"
    Then the output should contain all of these lines:
      | No Orphaned Files! |

  Scenario: Orphaned files
    When I unsuccessfully process "Orphans/Orphans.xcodeproj" with "Orphans/**/*.{m,swift}"
    Then the output should contain all of these lines:
      | These files aren't referenced anywhere in the project: |
      | Orphans/ObjCFile.m                                     |
      | Orphans/SwiftFile.swift                                |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
findxcprojorphan-1.0.0 features/findxcprojorphan.feature