-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathtestng.yaml
More file actions
348 lines (300 loc) · 9.85 KB
/
testng.yaml
File metadata and controls
348 lines (300 loc) · 9.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
name: TestNG
threadCount: 2
parameters: { short: 47, parameter: out, char: c, byte: 43, first-name: Cedric, int: 42, string: Cedric, factory-param: FactoryParam, boolean: true, long: 46, double: 44.0, float: 45.0 }
tests:
- name: Nopackage
includedGroups: [ nopackage ]
classes:
- NoPackageTest
- name: Regression1
excludedGroups: [ excludeThisGroup ]
metaGroups: { evenodd: [ even, odd ] }
classes:
- test.parameters.ParameterSample
- test.parameters.ParameterTest
- test.Test1
- test.Test2
- test.CtorCalledOnce
- test.expectedexceptions.ExpectedExceptionsTest
- test.access.PrivateAccessConfigurationMethods
- test.expectedexceptions.WrappedExpectedException
- test.parameters.OptionalParameterTest
- name: Regression2
excludedGroups: [ broken ]
classes:
- test.Test1
- test.MethodTest
- test.sample.AfterClassCalledAtEnd
- test.GraphTest
- org.testng.internal.DynamicGraphTest
- test.configuration.BaseGroupsTest
- test.configuration.BeforeClassThreadTest
- test.configuration.BeforeTestOrderingTest
- test.configuration.ConfigurationTest
- test.configuration.GroupsTest
- test.configuration.MultipleBeforeGroupTest
- test.configuration.ReflectMethodParametrizedConfigurationMethodTest
- test.configuration.SuiteFactoryOnceTest
- test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest
- test.multiple.TestMultiple
- test.ClassConfigurations
- test.alwaysrun.AlwaysRunTest
- test.conffailure.ConfigurationFailure
- test.superclass.MainTest
- test.superclass.Test3
- test.failures.FailuresTest
- test.mannotation.MAnnotationSampleTest
- test.mannotation.MAnnotation2SampleTest
- test.thread.ThreadPoolSizeTest
- test.thread.SequentialTest
- test.thread.ParallelTestTest
- test.thread.ParallelSuiteTest
- test.thread.FactoryTest
- test.thread.DataProviderThreadPoolSizeTest
- test.thread.MultiThreadedDependentTest
- test.simple.IncludedExcludedTest
- test.reports.ReportTest
- test.annotationtransformer.AnnotationTransformerTest
- test.jar.JarTest
- test.xml.XmlVerifyTest
- test.invokedmethodlistener.InvokedMethodListenerTest
- test.testng249.VerifyTest
- test.testng195.AfterMethodTest
- test.regression.BeforeTestFailingTest
- test.testng285.TestNG285Test
- test.failedreporter.FailedReporterTest
- test.attributes.AttributeTest
- test.verify.VerifyTest
- test.abstractconfmethod.C
- test.issue78.NonPublicClassTest
- test.listeners.ListenerTest
- test.preserveorder.PreserveOrderTest
- test.listeners.ResultEndMillisTest
- name: Injection
classes:
- test.inject.InjectTestContextTest
- test.inject.InjectBeforeMethodTest
- test.inject.InjectTestResultTest
- test.inject.InjectDataProviderTest
- test.inject.NoInjectionTest
- name: BeforeMethod
classes:
- test.configuration.BeforeMethodTest
- name: Factory tests
classes:
- test.factory.classconf.XClassOrderWithFactoryTest
- test.factory.FactoryInterleavingTest
- name: Basic
classes:
- test.sample.Basic2
- test.sample.Basic1
- test.Misc
- name: Exclusion
excludedGroups: [ excludeThisGroup ]
classes:
- test.Test2
- name: Dependents
parameters: { foo: Cedric }
classes:
- test.dependent.MissingGroupTest
- test.dependent.MissingMethodTest
- test.dependent.OrderMethodTest
- test.dependent.DependentTest
- test.dependent.SampleDependentMethods
- test.dependent.SampleDependentMethods2
- test.dependent.SampleDependentMethods3
- test.dependent.SampleDependentConfigurationMethods
- test.dependent.ClassDependsOnGroups
- test.dependent.DependentAlwaysRunTest
- test.dependent.MultiGroupTest
- test.dependent.ImplicitGroupInclusionTest
- test.dependent.ClassWide1Test
- test.dependent.ClassWide2Test
- test.dependent.DepBugSampleTest
- test.dependent.DepBugVerifyTest
- test.dependent.DependsOnProtectedMethodTest
- test.dependsongroup.DependsOnGroupsTest
- name: Inheritance
classes:
- test.SampleInheritance
- test.inheritance.ClassScopeTest
- name: Test outer scope
includedGroups: [ outer-group ]
classes:
- test.sample.Scope
- name: Test inner scope
parameters: { parameter: in }
includedGroups: [ inner-group ]
classes:
- test.sample.Scope
- name: AfterClassCalledAtEnd
classes:
- test.sample.AfterClassCalledAtEnd
- name: Triangle
classes:
- test.triangle.Child1
- test.triangle.Child2
- name: CheckTrianglePost
parameters: { expected-calls: 2 }
classes:
- test.triangle.CheckCount
- name: Test class groups 1
classes:
- test.classgroup.Second
- test.classgroup.First
- name: Test class groups 2
classes:
- test.classgroup.First
- test.classgroup.Second
- name: Factory
classes:
- test.factory.FactoryTest
- test.factory.VerifyFactoryTest
- test.factory.FactoryInSeparateClassTest
- test.factory.Factory2Test
- test.factory.FactoryWithInstanceInfoTest
- test.factory.VerifyFactoryWithInstanceInfoTest
- test.factory.TestClassAnnotationTest
- test.factory.FactoryWithDataProviderTest
- test.factory.FactoryOrderMainTest
- test.factory.FactoryFailureTest
- test.factory.FactoryInSuperClassTest
- name: TimeOut
classes:
- test.timeout.TimeOutTest
- test.timeout.TimeOutFromXmlTest
- name: InvocationCount
parameters: { count: 10 }
classes:
- test.InvocationAndSuccessPercentageTest
- test.invocationcount.FailedInvocationCountTest
- test.invocationcount.FirstAndLastTimeTest
- name: Method1
classes:
- name: test.methods.SampleMethod1
includedMethods:
- shouldRun1
- shouldRun2
- test.methods.VerifyMethod1
- name: Method2
classes:
- name: test.methods.SampleMethod1
excludedMethods:
- shouldNotRun1
- shouldNotRun2
- test.methods.VerifyMethod1
- name: Method3
classes:
- name: test.methods.SampleMethod1
excludedMethods:
- .*Not.*
- test.methods.VerifyMethod1
- name: Object factory
classes:
- test.objectfactory.CustomFactoryTest
- test.objectfactory.CombinedTestAndObjectFactoryTest
- name: Parameters for constructors
classes:
- test.ParameterConstructorTest
- name: Excluded methods
includedGroups: [ group1, group2 ]
classes:
- name: test.Exclude
excludedMethods:
- excluded1
- excluded2
- name: Parameters in init 1
parameters: { param: value1 }
classes:
- test.configuration.ConfigurationWithParameters
- name: Parameters in init 2
parameters: { param: value2 }
classes:
- test.configuration.ConfigurationWithParameters
- name: Individual method
classes:
- name: test.IndividualMethodsTest
includedMethods:
- testMethod
- name: Method inheritance
classes:
- test.inheritance.DChild_2
- test.inheritance.VerifyTest
- name: Method selectors
classes:
- test.methodselectors.MethodSelectorTest
- test.methodselectors.ScriptTest
- test.methodselectors.CommandLineTest
- name: Test order invocation
classes:
- test.interleavedorder.InterleavedInvocationTest
- name: DataProvider
classes:
- test.dataprovider.ConfigurationAndDataProvidersTest
- test.dataprovider.MethodTest
- test.dataprovider.TestContextTest
- test.dataprovider.FailingDataProviderTest
- test.dataprovider.InstanceDataProviderTest
- test.dataprovider.FailingIterableDataProviderTest
- test.dataprovider.ClassTest
- test.dataprovider.InheritedDataProviderTest
- name: UniqueSuite
classes:
- test.uniquesuite.TestBefore1
- test.uniquesuite.TestBefore2
- test.uniquesuite.TestAfter
- name: InheritGroups
includedGroups: [ group1 ]
classes:
- test.configuration.ConfigurationInheritGroupsSampleTest
- name: Nested
includedGroups: [ unittest ]
xmlPackages:
- name: test.nested.*
- name: Hookable
classes:
- test.hook.HookSuccessTest
- test.hook.HookFailureTest
- name: BeforeGroups-AfterGroups-1
classes:
- test.configuration.ConfigurationGroups1SampleTest
- test.configuration.ConfigurationGroups2SampleTest
- test.configuration.ConfigurationGroups3SampleTest
- test.configuration.ConfigurationGroups4SampleTest
- test.configuration.ConfigurationGroups5SampleTest
- test.configuration.ConfigurationGroups6SampleTest
- test.configuration.ConfigurationGroups7SampleTest
- name: BeforeGroups-AfterGroups-2
includedGroups: [ A, B ]
classes:
- test.configuration.ConfigurationGroups8SampleTest
- name: JUnit
classes:
- test.JUnitTest1
- test.CommandLineTest
- name: Class Run
classes:
- test.regression.groupsordering.A
- test.regression.groupsordering.B
- name: Groups Run
includedGroups: [ a ]
classes:
- test.regression.groupsordering.A
- test.regression.groupsordering.B
- name: External group invocation
includedGroups: [ a ]
classes:
- test.groupinvocation.GroupConfiguration
- test.groupinvocation.DummyTest
- name: SkipExceptions
classes:
- test.skipex.SkippedExceptionTest
- name: MethodInterceptor
classes:
- test.methodinterceptors.MethodInterceptorTest
- name: Asserts
classes:
- test.asserttests.AssertTest
- name: ConfigFailurePolicy
classes:
- test.configurationfailurepolicy.FailurePolicyTest