class ReportPortal::TestItem

Represents a test item

Attributes

closed[RW]
description[R]
id[RW]
launch_id[R]
name[R]
parameters[R]
start_time[R]
status[R]
tags[R]
type[R]
unique_id[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/report_portal/models/test_item.rb, line 7
def initialize(options = {})
  options = options.map { |k, v| [k.to_sym, v] }.to_h
  @launch_id = options[:launch_id]
  @unique_id = options[:unique_id]
  @name = options[:name]
  @description = options[:description]
  @type = options[:type]
  @parameters = options[:parameters]
  @tags = options[:tags]
  @status = options[:status]
  @start_time = options[:start_time]
  @id = options[:id]
  @closed = options[:closed]
end