Class: XCJobs::Test

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

Instance Attribute Summary

Attributes inherited from Xcodebuild

#build_dir, #configuration, #coverage, #destinations, #formatter, #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_setting, #add_destination, #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



147
148
149
150
151
# File 'lib/xcjobs/xcodebuild.rb', line 147

def initialize(name = :test)
  super
  yield self if block_given?
  define
end

Instance Method Details

#sdkObject



153
154
155
# File 'lib/xcjobs/xcodebuild.rb', line 153

def sdk
  @sdk || 'iphonesimulator'
end