Class: AppMap::Service::IntegrationTestPathFinder
- Inherits:
-
Object
- Object
- AppMap::Service::IntegrationTestPathFinder
- Defined in:
- lib/appmap/service/integration_test_path_finder.rb
Class Method Summary collapse
Class Method Details
.count_paths ⇒ Object
19 20 21 |
# File 'lib/appmap/service/integration_test_path_finder.rb', line 19 def count_paths find.flatten(2).length - 3 end |
.find ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/appmap/service/integration_test_path_finder.rb', line 9 def find @paths ||= begin paths = { rspec: [], minitest: [], cucumber: [] } paths[:rspec] = find_rspec_paths if TestFrameworkDetector.rspec_present? paths[:minitest] = find_minitest_paths if TestFrameworkDetector.minitest_present? paths[:cucumber] = find_cucumber_paths if TestFrameworkDetector.cucumber_present? paths end end |