Sha256: 2dd6fb851110d2beb4619b490038ae8395f04a29128695eba794d0db328d5df6

Contents?: true

Size: 673 Bytes

Versions: 5

Compression:

Stored size: 673 Bytes

Contents

require 'feature_helper'

describe "CSV report" do
  # As a non-technical product owner
  # I want a csv report
  # So that I can easily review my application's dependencies and licenses

  let(:developer) { LicenseFinder::TestingDSL::User.new }
  let(:product_owner) { LicenseFinder::TestingDSL::User.new }

  specify "shows dependency data in CSV form" do
    developer.create_empty_project
    developer.execute_command 'license_finder dependencies add info_gem BSD 1.1.1'

    product_owner.execute_command('license_finder report --format csv --columns approved name version licenses')
    expect(product_owner).to be_seeing "Not approved,info_gem,1.1.1,BSD"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
license_finder-2.0.4 features/features/report/csv_spec.rb
license_finder-2.0.3 features/features/report/csv_spec.rb
license_finder-2.0.2 features/features/report/csv_spec.rb
license_finder-2.0.1 features/features/report/csv_spec.rb
license_finder-2.0.0 features/features/report/csv_spec.rb