Sha256: 4d80e9915a46ebb02f8efa57fa0e7f3ae24ffae64657069f21e8e4534e164c67
Contents?: true
Size: 830 Bytes
Versions: 2
Compression:
Stored size: 830 Bytes
Contents
# frozen_string_literal: true require_relative "../test_v1" require_relative "../span" module Datadog module CI module TestVisibility module Serializers module Factories # This factory takes care of creating msgpack serializers when test-level visibility is enabled # NOTE: citestcycle is a protocol Datadog uses to submit test execution tracing information to CI visibility # backend module TestLevel module_function def serializer(trace, span) case span.type when Datadog::CI::Ext::AppTypes::TYPE_TEST Serializers::TestV1.new(trace, span) else Serializers::Span.new(trace, span) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog-ci-1.0.0.beta2 | lib/datadog/ci/test_visibility/serializers/factories/test_level.rb |
datadog-ci-1.0.0.beta1 | lib/datadog/ci/test_visibility/serializers/factories/test_level.rb |