Sha256: c7410b36a1dd8205ccbf88641fac6dffdc9f82ac301ee8561c8a731fc551394f

Contents?: true

Size: 573 Bytes

Versions: 49

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'appmap/service/integration_test_path_finder'

describe AppMap::Service::IntegrationTestPathFinder do
  subject { described_class.new('./spec/fixtures/rails6_users_app/') }

  describe '.count' do
    it 'counts existing paths' do
      expect(subject.count_paths).to be(3)
    end
  end

  describe '.find' do
    it 'finds paths' do
      expect(subject.find).to eq({
        rspec: %w[spec/controllers],
        minitest: %w[test/controllers test/integration],
        cucumber: []
      })
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
appmap-0.74.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.73.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.5 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.4 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.3 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.72.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.71.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.70.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.70.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.70.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.69.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.68.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.68.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.68.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.67.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.67.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.66.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.66.1 spec/service/integration_test_path_finder_spec.rb