Class: XCJobs::Test

Inherits:
Xcodebuild show all
Defined in:
lib/xcjobs/xcodebuild.rb

Instance Attribute Summary collapse

Attributes inherited from Xcodebuild

#build_dir, #configuration, #coverage, #description, #destinations, #formatter, #hide_shell_script_environment, #name, #project, #provisioning_profile, #provisioning_profile_name, #provisioning_profile_uuid, #scheme, #signing_identity, #target, #unsetenv_others, #workspace

Instance Method Summary collapse

Methods inherited from Xcodebuild

#add_build_option, #add_build_setting, #add_destination, #add_only_testing, #add_skip_testing, #after_action, #before_action, #coverage_enabled

Constructor Details

#initialize(name = :test) {|_self| ... } ⇒ Test

Returns a new instance of Test.

Yields:

  • (_self)

Yield Parameters:

  • _self (XCJobs::Test)

    the object that the method was called on



178
179
180
181
182
183
184
# File 'lib/xcjobs/xcodebuild.rb', line 178

def initialize(name = :test)
  super
  @description ||= 'test application'
  @without_building = false
  yield self if block_given?
  define
end

Instance Attribute Details

#without_buildingObject

Returns the value of attribute without_building.



176
177
178
# File 'lib/xcjobs/xcodebuild.rb', line 176

def without_building
  @without_building
end

Instance Method Details

#sdkObject



186
187
188
# File 'lib/xcjobs/xcodebuild.rb', line 186

def sdk
  @sdk || 'iphonesimulator'
end