class Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
Attributes
A test of an Android application that can control an Android component independently of its normal lifecycle. Android instrumentation tests run an application APK and test APK inside the same process on a virtual or physical AndroidDevice
. They also specify a test runner class, such as com.google. GoogleTestRunner, which can vary on the specific instrumentation framework chosen. See for more information on types of Android tests. Corresponds to the JSON property `androidInstrumentationTest` @return [Google::Apis::TestingV1::AndroidInstrumentationTest]
A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes. Corresponds to the JSON property `androidRoboTest` @return [Google::Apis::TestingV1::AndroidRoboTest]
A test of an Android Application with a Test Loop. The intent \ will be implicitly added, since Games is the only user of this api, for the time being. Corresponds to the JSON property `androidTestLoop` @return [Google::Apis::TestingV1::AndroidTestLoop]
Disables performance metrics recording. May reduce test latency. Corresponds to the JSON property `disablePerformanceMetrics` @return [Boolean]
Disables performance metrics recording. May reduce test latency. Corresponds to the JSON property `disablePerformanceMetrics` @return [Boolean]
Disables video recording. May reduce test latency. Corresponds to the JSON property `disableVideoRecording` @return [Boolean]
Disables video recording. May reduce test latency. Corresponds to the JSON property `disableVideoRecording` @return [Boolean]
A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially. Corresponds to the JSON property `iosTestLoop` @return [Google::Apis::TestingV1::IosTestLoop]
A description of how to set up an iOS device prior to running the test. Corresponds to the JSON property `iosTestSetup` @return [Google::Apis::TestingV1::IosTestSetup]
A test of an iOS application that uses the XCTest framework. Xcode supports the option to “build for testing”, which generates an .xctestrun file that contains a test specification (arguments, test methods, etc). This test type accepts a zip file containing the .xctestrun file and the corresponding contents of the Build/Products directory that contains all the binaries needed to run the tests. Corresponds to the JSON property `iosXcTest` @return [Google::Apis::TestingV1::IosXcTest]
A description of how to set up the Android device prior to running the test. Corresponds to the JSON property `testSetup` @return [Google::Apis::TestingV1::TestSetup]
Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min. Corresponds to the JSON property `testTimeout` @return [String]
Public Class Methods
# File lib/google/apis/testing_v1/classes.rb, line 2414 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 2419 def update!(**args) @android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test) @android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test) @android_test_loop = args[:android_test_loop] if args.key?(:android_test_loop) @disable_performance_metrics = args[:disable_performance_metrics] if args.key?(:disable_performance_metrics) @disable_video_recording = args[:disable_video_recording] if args.key?(:disable_video_recording) @ios_test_loop = args[:ios_test_loop] if args.key?(:ios_test_loop) @ios_test_setup = args[:ios_test_setup] if args.key?(:ios_test_setup) @ios_xc_test = args[:ios_xc_test] if args.key?(:ios_xc_test) @test_setup = args[:test_setup] if args.key?(:test_setup) @test_timeout = args[:test_timeout] if args.key?(:test_timeout) end