class Google::Apis::TestingV1::ManualSharding
Shards test cases into the specified groups of packages, classes, and/or methods. With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid.
Attributes
test_targets_for_shard[RW]
Required. Group of packages, classes, and/or test methods to be run for each shard. When any physical devices are selected, the number of test_targets_for_shard
must be >= 1 and <= 50. When no physical devices are selected, the number must be >= 1 and <= 500. Corresponds to the JSON property `testTargetsForShard` @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1616 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1621 def update!(**args) @test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard) end