Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_report_entity.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9eb487da60a0282d2bfa45d36198dcda783de21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class TestReportEntity < Grape::Entity
  expose :total_time
  expose :total_count

  expose :success_count
  expose :failed_count
  expose :skipped_count
  expose :error_count

  expose :test_suites, using: TestSuiteEntity do |report|
    report.test_suites.values
  end
end