class StructCore::Specfile::Scheme::TestAction
Attributes
build_configuration[RW]
code_coverage_enabled[RW]
environment[RW]
inherit_launch_arguments[RW]
targets[RW]
Public Class Methods
new(build_configuration, targets = [], inherit_launch_arguments = false, code_coverage_enabled = false, environment = {})
click to toggle source
# File lib/spec/spec_file.rb, line 263 def initialize(build_configuration, targets = [], inherit_launch_arguments = false, code_coverage_enabled = false, environment = {}) @build_configuration = build_configuration normalized_targets = (targets || []).map do |target| if target.is_a? String { 'name' => target } else target end end @targets = normalized_targets @inherit_launch_arguments = inherit_launch_arguments @code_coverage_enabled = code_coverage_enabled @environment = environment end