Sha256: 3804b65bfc9dd4f81e1e9242d2222e6b9d1f7b3f794fd1df62d4cfbaf79041da

Contents?: true

Size: 696 Bytes

Versions: 16

Compression:

Stored size: 696 Bytes

Contents

require_relative '../../support/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

16 entries across 16 versions & 1 rubygems

Version Path
license_finder-3.0.4 features/features/report/csv_spec.rb
license_finder-3.0.2 features/features/report/csv_spec.rb
license_finder-3.0.1 features/features/report/csv_spec.rb
license_finder-3.0.0 features/features/report/csv_spec.rb
license_finder-2.1.2 features/features/report/csv_spec.rb
license_finder-2.1.1 features/features/report/csv_spec.rb
license_finder-2.1.0 features/features/report/csv_spec.rb
license_finder-2.1.0.rc9 features/features/report/csv_spec.rb
license_finder-2.1.0.rc8 features/features/report/csv_spec.rb
license_finder-2.1.0.rc7 features/features/report/csv_spec.rb
license_finder-2.1.0.rc6 features/features/report/csv_spec.rb
license_finder-2.1.0.rc5 features/features/report/csv_spec.rb
license_finder-2.1.0.rc4 features/features/report/csv_spec.rb
license_finder-2.1.0.rc3 features/features/report/csv_spec.rb
license_finder-2.1.0.rc2 features/features/report/csv_spec.rb
license_finder-2.1.0.rc1 features/features/report/csv_spec.rb