Sha256: 8ac961b7f8e2d19a21152dc412d0a6b8f643a4fd308e6d518206230330a53596

Contents?: true

Size: 996 Bytes

Versions: 3

Compression:

Stored size: 996 Bytes

Contents

module Inferno
  module Entities
    # A `TestSession` represents an individual testing session.
    #
    # @attr_reader [String] id id of the session
    # @attr_reader [Time] created_at creation timestamp
    # @attr_reader [Time] updated_at update timestamp
    # @attr_reader [String] test_suite_id id of the `TestSuite` being run in
    #   this session
    # @attr_reader [Inferno::Entities::TestSuite] test_suite the `TestSuite` being run in
    #   this session
    # @attr_reader [Array<Inferno::Entities::TestRun>] test_runs the `TestRuns`
    #   associated with this session
    # @attr_reader [Array<Inferno::Entities::TestResult>] test_results the
    #   `TestResults` associated with this session
    class TestSession < Entity
      ATTRIBUTES = [:id, :created_at, :updated_at, :test_suite_id, :test_suite, :test_runs, :test_results].freeze

      include Inferno::Entities::Attributes

      def initialize(params)
        super(params, ATTRIBUTES)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inferno_core-0.0.3 lib/inferno/entities/test_session.rb
inferno_core-0.0.2 lib/inferno/entities/test_session.rb
inferno_core-0.0.1 lib/inferno/entities/test_session.rb