class Trainer::XCResult::ActionTestableSummary

Attributes

project_relative_path[RW]
target_name[RW]
test_kind[RW]
tests[RW]

Public Class Methods

new(data) click to toggle source
# File lib/trainer/xcresult.rb, line 79
def initialize(data)
  self.project_relative_path = fetch_value(data, "projectRelativePath")
  self.target_name = fetch_value(data, "targetName")
  self.test_kind = fetch_value(data, "testKind")
  self.tests = fetch_values(data, "tests").map do |tests_data|
    ActionTestSummaryIdentifiableObject.create(tests_data, self)
  end
  super
end

Public Instance Methods

all_tests() click to toggle source
# File lib/trainer/xcresult.rb, line 89
def all_tests
  return tests.map(&:all_subtests).flatten
end