Sha256: 994e20ea58cde88fe2cdb1a8f5fd0f83cfe0f7e69565ac645ce6331c73629b27
Contents?: true
Size: 879 Bytes
Versions: 17
Compression:
Stored size: 879 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, options: {}) case span.type when Datadog::CI::Ext::AppTypes::TYPE_TEST Serializers::TestV1.new(trace, span, options: options) else Serializers::Span.new(trace, span, options: options) end end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems