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.83.4 spec/service/integration_test_path_finder_spec.rb
appmap-0.83.3 spec/service/integration_test_path_finder_spec.rb
appmap-0.83.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.83.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.83.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.82.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.81.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.81.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.80.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.80.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.80.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.79.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.78.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.77.4 spec/service/integration_test_path_finder_spec.rb
appmap-0.77.3 spec/service/integration_test_path_finder_spec.rb
appmap-0.77.2 spec/service/integration_test_path_finder_spec.rb
appmap-0.77.1 spec/service/integration_test_path_finder_spec.rb
appmap-0.77.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.76.0 spec/service/integration_test_path_finder_spec.rb
appmap-0.75.0 spec/service/integration_test_path_finder_spec.rb