File Coverage

blib/lib/Paws/DeviceFarm/ScheduleRunTest.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DeviceFarm::ScheduleRunTest;
2 1     1   537 use Moose;
  1         2  
  1         7  
3             has Filter => (is => 'ro', isa => 'Str', request_name => 'filter', traits => ['NameInRequest']);
4             has Parameters => (is => 'ro', isa => 'Paws::DeviceFarm::TestParameters', request_name => 'parameters', traits => ['NameInRequest']);
5             has TestPackageArn => (is => 'ro', isa => 'Str', request_name => 'testPackageArn', traits => ['NameInRequest']);
6             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::DeviceFarm::ScheduleRunTest
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::DeviceFarm::ScheduleRunTest object:
25              
26             $service_obj->Method(Att1 => { Filter => $value, ..., Type => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::ScheduleRunTest object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Filter
34              
35             =head1 DESCRIPTION
36              
37             Represents additional test settings.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Filter => Str
43              
44             The test's filter.
45              
46              
47             =head2 Parameters => L<Paws::DeviceFarm::TestParameters>
48              
49             The test's parameters, such as the following test framework parameters
50             and fixture settings:
51              
52             For Calabash tests:
53              
54             =over
55              
56             =item *
57              
58             profile: A cucumber profile, for example, "my_profile_name".
59              
60             =item *
61              
62             tags: You can limit execution to features or scenarios that have (or
63             don't have) certain tags, for example, "@smoke" or "@smoke,~@wip".
64              
65             =back
66              
67             For Appium tests (all types):
68              
69             =over
70              
71             =item *
72              
73             appium_version: The Appium version. Currently supported values are
74             "1.4.16", "1.6.3", "latest", and "default".
75              
76             =over
77              
78             =item *
79              
80             E<ldquo>latestE<rdquo> will run the latest Appium version supported by
81             Device Farm (1.6.3).
82              
83             =item *
84              
85             For E<ldquo>defaultE<rdquo>, Device Farm will choose a compatible
86             version of Appium for the device. The current behavior is to run 1.4.16
87             on Android devices and iOS 9 and earlier, 1.6.3 for iOS 10 and later.
88              
89             =item *
90              
91             This behavior is subject to change.
92              
93             =back
94              
95             =back
96              
97             For Fuzz tests (Android only):
98              
99             =over
100              
101             =item *
102              
103             event_count: The number of events, between 1 and 10000, that the UI
104             fuzz test should perform.
105              
106             =item *
107              
108             throttle: The time, in ms, between 0 and 1000, that the UI fuzz test
109             should wait between events.
110              
111             =item *
112              
113             seed: A seed to use for randomizing the UI fuzz test. Using the same
114             seed value between tests ensures identical event sequences.
115              
116             =back
117              
118             For Explorer tests:
119              
120             =over
121              
122             =item *
123              
124             username: A username to use if the Explorer encounters a login form. If
125             not supplied, no username will be inserted.
126              
127             =item *
128              
129             password: A password to use if the Explorer encounters a login form. If
130             not supplied, no password will be inserted.
131              
132             =back
133              
134             For Instrumentation:
135              
136             =over
137              
138             =item *
139              
140             filter: A test filter string. Examples:
141              
142             =over
143              
144             =item *
145              
146             Running a single test case: "com.android.abc.Test1"
147              
148             =item *
149              
150             Running a single test: "com.android.abc.Test1#smoke"
151              
152             =item *
153              
154             Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2"
155              
156             =back
157              
158             =back
159              
160             For XCTest and XCTestUI:
161              
162             =over
163              
164             =item *
165              
166             filter: A test filter string. Examples:
167              
168             =over
169              
170             =item *
171              
172             Running a single test class: "LoginTests"
173              
174             =item *
175              
176             Running a multiple test classes: "LoginTests,SmokeTests"
177              
178             =item *
179              
180             Running a single test: "LoginTests/testValid"
181              
182             =item *
183              
184             Running multiple tests: "LoginTests/testValid,LoginTests/testInvalid"
185              
186             =back
187              
188             =back
189              
190             For UIAutomator:
191              
192             =over
193              
194             =item *
195              
196             filter: A test filter string. Examples:
197              
198             =over
199              
200             =item *
201              
202             Running a single test case: "com.android.abc.Test1"
203              
204             =item *
205              
206             Running a single test: "com.android.abc.Test1#smoke"
207              
208             =item *
209              
210             Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2"
211              
212             =back
213              
214             =back
215              
216              
217              
218             =head2 TestPackageArn => Str
219              
220             The ARN of the uploaded test that will be run.
221              
222              
223             =head2 B<REQUIRED> Type => Str
224              
225             The test's type.
226              
227             Must be one of the following values:
228              
229             =over
230              
231             =item *
232              
233             BUILTIN_FUZZ: The built-in fuzz type.
234              
235             =item *
236              
237             BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
238             Android app, interacting with it and capturing screenshots at the same
239             time.
240              
241             =item *
242              
243             APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
244              
245             =item *
246              
247             APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
248              
249             =item *
250              
251             APPIUM_PYTHON: The Appium Python type.
252              
253             =item *
254              
255             APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
256              
257             =item *
258              
259             APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
260              
261             =item *
262              
263             APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
264              
265             =item *
266              
267             CALABASH: The Calabash type.
268              
269             =item *
270              
271             INSTRUMENTATION: The Instrumentation type.
272              
273             =item *
274              
275             UIAUTOMATION: The uiautomation type.
276              
277             =item *
278              
279             UIAUTOMATOR: The uiautomator type.
280              
281             =item *
282              
283             XCTEST: The XCode test type.
284              
285             =item *
286              
287             XCTEST_UI: The XCode UI test type.
288              
289             =back
290              
291              
292              
293              
294             =head1 SEE ALSO
295              
296             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
297              
298             =head1 BUGS and CONTRIBUTIONS
299              
300             The source code is located here: https://github.com/pplu/aws-sdk-perl
301              
302             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
303              
304             =cut
305