Sha256: caac365e8c7b2d3476294d63d3ad92f436e1454a18b25ac87b17201ab3b4e7ee
Contents?: true
Size: 780 Bytes
Versions: 46
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true module GitlabQuality module TestTooling module Report module Concerns module GroupAndCategoryLabels def labels_inference @labels_inference ||= GitlabQuality::TestTooling::LabelsInference.new end def new_issue_labels(test) puts " => [DEBUG] product_group: #{test.product_group}; feature_category: #{test.feature_category}" new_labels = self.class::NEW_ISSUE_LABELS + labels_inference.infer_labels_from_product_group(test.product_group) + labels_inference.infer_labels_from_feature_category(test.feature_category) up_to_date_labels(test: test, new_labels: new_labels) end end end end end end
Version data entries
46 entries across 46 versions & 1 rubygems