Sha256: f10ed7aca219e6779d8b50ef691d2ab6a43d2643fb021e40d1aa152f193eab96

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class TestRun < Serializer
        identifier :id
        field :test_session_id

        field :status

        field :test_group_id, if: :field_present?
        field :test_suite_id, if: :field_present?
        field :test_id, if: :field_present?

        association :results, blueprint: Result
        association :inputs, blueprint: Input
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inferno_core-0.0.3 lib/inferno/apps/web/serializers/test_run.rb
inferno_core-0.0.2 lib/inferno/apps/web/serializers/test_run.rb
inferno_core-0.0.1 lib/inferno/apps/web/serializers/test_run.rb