Sha256: 23cf5a0449456cdb4f117e17d11b01f0d2987b53b4a6a89d6aa4d9854e37e9e2

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

Feature: Whitelist licenses
  As a developer
  I want to whitelist certain OSS licenses that my business has pre-approved
  So that any dependencies with those licenses do not show up as action items

  Scenario: Auditing an application with whitelisted licenses
    Given I have an app with license finder
    And my app depends on a gem "mit_licensed_gem" licensed with "MIT"
    When I run "license_finder"
    Then I should see "mit_licensed_gem" in its output
    When I whitelist the following licenses: "MIT, other"
    And I run "license_finder"
    Then I should see "All gems are approved for use" in its output
    And it should exit with status code 0

  Scenario: Whitelist with MIT License alternative name "Expat" should whitelist "MIT" licenses
    Given I have an app with license finder
    And "Expat" is an alternative name for the "MIT" license
    And my app depends on a gem "mit_licensed_gem" licensed with "MIT"
    When I run "license_finder"
    Then I should see "mit_licensed_gem" in its output
    When I whitelist the "Expat" license
    And I run "license_finder"
    Then I should not see "mit_licensed_gem" in its output

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
license_finder-0.8.0-java features/whitelist.feature
license_finder-0.8.0 features/whitelist.feature
license_finder-0.7.3 features/whitelist.feature
license_finder-0.7.1 features/whitelist.feature