Sha256: 68fd1b0f94332723f37ab420753da7ac7f382402873e36105f0438f75bbc1534

Contents?: true

Size: 696 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
license_finder-4.0.2 features/features/report/csv_spec.rb
license_finder-4.0.1 features/features/report/csv_spec.rb
license_finder-3.1.1 features/features/report/csv_spec.rb