Sha256: 361a4e1a5ad4e34c2abebb97698b449e48c77b3db0493d36a32fd15295e8b98a

Contents?: true

Size: 1000 Bytes

Versions: 3

Compression:

Stored size: 1000 Bytes

Contents

module Inferno
  module Entities
    # A `TestSession` represents an individual testing session.
    #
    # @attr_accessor [String] id id of the session
    # @attr_accessor [Time] created_at creation timestamp
    # @attr_accessor [Time] updated_at update timestamp
    # @attr_accessor [String] test_suite_id id of the `TestSuite` being run in
    #   this session
    # @attr_accessor [Inferno::Entities::TestSuite] test_suite the `TestSuite` being run in
    #   this session
    # @attr_accessor [Array<Inferno::Entities::TestRun>] test_runs the `TestRuns`
    #   associated with this session
    # @attr_accessor [Array<Inferno::Entities::TestResult>] results the
    #   `TestResults` associated with this session
    class TestSession < Entity
      ATTRIBUTES = [:id, :created_at, :updated_at, :test_suite_id, :test_suite, :test_runs, :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.6 lib/inferno/entities/test_session.rb
inferno_core-0.0.5 lib/inferno/entities/test_session.rb
inferno_core-0.0.4 lib/inferno/entities/test_session.rb