Skip to content
Snippets Groups Projects

Limit test predictions for DirectMapping strategy

Merged David Dieulivol requested to merge ddieulivol-limit_predictions into master
1 unresolved thread
5 files
+ 156
138
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 2
2
@@ -6,9 +6,9 @@ require 'test_file_finder'
options = TestFileFinder::OptionParser.parse!(ARGV)
TestFileFinder::FileFinder.new(paths: ARGV).tap do |file_finder|
file_finder.use TestFileFinder::MappingStrategies::DirectMatching.new(options.json) if options.json
file_finder.use TestFileFinder::MappingStrategies::DirectMatching.load_json(options.json) if options.json
file_finder.use TestFileFinder::MappingStrategies::PatternMatching.new(options.mapping_file) if options.mapping_file
file_finder.use TestFileFinder::MappingStrategies::PatternMatching.load(options.mapping_file) if options.mapping_file
file_finder.use TestFileFinder::MappingStrategies::GitlabMergeRequestRspecFailure.new(project_path: options.project_path, merge_request_iid: options.merge_request_iid) if options.project_path && options.merge_request_iid
Loading