Sha256: b6695b555eb8dc2d8014f61fb000e73785b14de61c93838e326a1f829f3dab7e

Contents?: true

Size: 963 Bytes

Versions: 1

Compression:

Stored size: 963 Bytes

Contents

Feature: License Finder command line executable

  Scenario: I want to check if any of my dependencies are not approved
    Given I have an application setup with rake and license finder
    And my app depends on a gem "gpl_licensed_gem" licensed with "GPL"
    And my app depends on a gem "mit_licensed_gem" licensed with "MIT"
    And I whitelist the "MIT" license
    When I run "license_finder"
    Then I should see "gpl_licensed_gem" in its output
    And I should not see "mit_licensed_gem" in its output
    And it should exit with status code 1

  Scenario: I want my build to pass when all dependencies are approved
    Given I have an application setup with rake and license finder
    And my app depends on a gem "mit_licensed_gem" licensed with "MIT"
    And I whitelist the following licenses: "MIT, other"
    When I run "license_finder"
    Then it should exit with status code 0
    And I should see "All gems are approved for use" in its output

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
license_finder-0.5.0 features/executables/license_finder.feature