/
tests.cfg
499 lines (479 loc) · 11.1 KB
/
tests.cfg
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
[buildout]
parts += robot
test-eggs =
${buildout:eggs}
Products.ATContentTypes [test]
Products.Archetypes [test]
Products.CMFCore
Products.CMFDefault
Products.CMFDiffTool
Products.CMFDynamicViewFTI
Products.CMFEditions
Products.CMFFormController
Products.CMFPlacefulWorkflow [test]
Products.CMFPlone [test]
Products.CMFQuickInstallerTool
Products.DCWorkflow
Products.DateRecurringIndex [test]
Products.ExtendedPathIndex
Products.GenericSetup
Products.Marshall
Products.MimetypesRegistry
Products.PasswordResetTool
Products.PlacelessTranslationService
Products.PloneLanguageTool
Products.PlonePAS
Products.PloneTestCase
Products.PluggableAuthService
Products.PluginRegistry
Products.PortalTransforms
Products.ResourceRegistries
Products.ZopeVersionControl
Products.contentmigration
Products.i18ntestcase
Products.statusmessages
Products.validation
archetypes.schemaextender
borg.localrole
collective.elephantvocabulary
collective.monkeypatcher
collective.testcaselayer
diazo [test]
five.customerize
five.formlib
five.localsitemanager
five.pt
grokcore.security [test]
icalendar [test]
plone.alterego
plone.app.blob [test]
plone.app.caching [test]
plone.app.collection [test]
plone.app.content
plone.app.contentlisting [test]
plone.app.contentmenu
plone.app.contentrules
plone.app.controlpanel [test]
plone.app.contenttypes [test]
plone.app.customerize
plone.app.dexterity
plone.app.discussion [test]
plone.app.event [test]
plone.app.folder
plone.app.form
plone.app.i18n
plone.app.imaging [test]
plone.app.intid
plone.app.iterate
plone.app.jquery [test]
plone.app.jquerytools [test]
plone.app.layout [test]
plone.app.linkintegrity [test]
plone.app.locales
plone.app.openid
plone.app.portlets [test]
plone.app.querystring
plone.app.relationfield
plone.app.redirector
plone.app.registry
plone.app.search [test]
plone.app.testing [test]
plone.app.textfield [tests]
plone.app.theming [test]
plone.app.upgrade [test]
plone.app.users [test]
plone.app.uuid
plone.app.versioningbehavior [tests]
plone.app.viewletmanager
plone.app.vocabularies
plone.app.widgets [test]
plone.app.workflow
plone.app.z3cform [tests]
plone.autoform
plone.batching
plone.behavior
plone.browserlayer
plone.cachepurging [test]
plone.caching
plone.contentrules
plone.dexterity [test]
plone.event [test]
plone.fieldsets
plone.folder
plone.formwidget.namedfile
plone.formwidget.recurrence [archetypes,z3cform,test]
plone.i18n
plone.indexer
plone.intelligenttext
plone.keyring
plone.locking
plone.memoize
plone.namedfile [blobs]
plone.openid
plone.outputfilters [test]
plone.portlet.collection
plone.portlet.static
plone.portlets
plone.protect
plone.recipe.zope2instance
plone.registry
plone.resource [test]
plone.rfc822
plone.scale
plone.schema
plone.schemaeditor [test]
plone.session
plone.stringinterp
plone.subrequest [test]
plone.supermodel [test]
plone.synchronize
plone.testing [test]
plone.theme
plone.transformchain
plone.transformchain [test]
plone.uuid
plone.z3cform [test]
plonetheme.barceloneta
repoze.xmliter
z3c.form
z3c.relationfield [test]
zope.globalrequest
[versions]
# egg versions that are not part of the release, but should still be pinned
# so our development builds are repeatable
collective.recipe.sphinxbuilder = 0.7.1
flake8 = 2.1.0
pep8 = 1.4.6
pyflakes = 0.7.3
mccabe = 0.2.1
autopep8 = 0.9.7
plone.recipe.command = 1.1
unittest-jshint = 1.0
[environment]
BUILDOUT_DIR = ${buildout:directory}
[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:test-eggs}
defaults = ['--auto-color', '--auto-progress', '--ignore_dir=bower_components', '--ignore_dir=node_modules']
environment = environment
[robot]
recipe = zc.recipe.egg
eggs =
${buildout:test-eggs}
Pillow
plone.app.robotframework[ride,reload,debug]
[package-map]
unittest-jshint = unittest_jshint
[test-groups]
Add-ons =
Products.CMFPlacefulWorkflow
grokcore.view
grokcore.component
martian
plone.app.iterate
plone.app.openid
plone.openid
# AT alltests group. Those test groups are run via the alltests-at script.
Archetypes =
Products.Archetypes
Products.CMFFormController
Products.Marshall
Products.MimetypesRegistry
Products.PortalTransforms
Products.statusmessages
Products.validation
ATCT =
plone.app.folder
Products.ATContentTypes
CMF =
Products.CMFDefault
Products.CMFDynamicViewFTI
Products.CMFTestCase
Products.CMFUid
Products.GenericSetup
Products.PloneLanguageTool
Products.PluggableAuthService
Products.PluginRegistry
five.customerize
five.localsitemanager
CMFEditions =
Products.CMFDiffTool
Products.CMFEditions
zope_tests =
five.formlib
five.intid
five.pt
Products.DateRecurringIndex
plone =
borg.localrole
plone.fieldsets
plone.i18n
plone.indexer
plone.intelligenttext
plone.locking
plone.memoize
plone.protect
plone.registry
plone.scale
plone.uuid
Plone =
Products.CMFQuickInstallerTool
Products.PasswordResetTool
Products.PlacelessTranslationService
Products.ResourceRegistries
plone.app.content
plone.app.contentrules
plone.app.controlpanel
plone.app.customerize
plone.app.form
plone.app.i18n
plone.app.upgrade
plone.app.vocabularies
plone.app.widgets
PloneTestCase =
plone.app.iterate
plone.app.portlets
plone.app.textfield
plone.app.users
plone.outputfilters
Products.CMFPlacefulWorkflow
Products.contentmigration
plone_app_testing =
collective.elephantvocabulary
diazo
plone.alterego
plone.app.caching
plone.app.contentlisting
plone.app.contentmenu
plone.app.contenttypes
plone.app.dexterity
plone.app.discussion
plone.app.event
plone.app.intid
plone.app.jquery
plone.app.jquerytools
plone.app.layout
plone.app.querystring
plone.app.redirector
plone.app.registry
plone.app.search
plone.app.testing
plone.app.theming
plone.app.uuid
plone.app.workflow
plone.autoform
plone.behavior
plone.cachepurging
plone.contentrules
plone.browserlayer
plone.formwidget.namedfile
plone.formwidget.recurrence
plone.portlet.collection
plone.portlet.static
plone.portlets
plone.resource
plone.resourceeditor
plone.rfc822
plone.stringinterp
plone.subrequest
plone.synchronize
plone.testing
plone.theme
plone.transformchain
plone.transformchain
plone.z3cform
plonetheme.barceloneta
Products.CMFPlone
Products.PlonePAS
repoze.xmliter
unit_tests =
collective.monkeypatcher
icalendar
plone.app.relationfield
plone.batching
plone.caching
plone.dexterity
plone.event
plone.keyring
plone.schema
plone.session
plone.supermodel
Products.ExtendedPathIndex
z3c.pt
z3c.relationfield
Dexterity =
# Moving plone.app.z3cform into the plone_app_testing group leads to deadlocks / very long
# running robot tests (> 25 min) on Jenkins.
plone.app.z3cform
# Moving plone.folder into the plone_app_testing group leads to test failures with:
# ValueError: undefined property 'content_meta_type'
plone.folder
# Moving plone.namedfile into the plone_app_testing groups lead to test failures with:
# ValueError: undefined property 'content_meta_type'
plone.namedfile
# Moving plone.schemaeditor into the plone_app_testing_group leads to test failures.
plone.schemaeditor
# TEST ISOLATION PROBLEMS
# -----------------------
#
# The packages listed below have serious test isolation problems. Therefore
# we have to run them in full isolation.
#
# Every package that is included in the test eggs but is not in one of the
# test groups above will run in full isolation.
#
# Therefore we should try to fix those package tests.
#
# Products.DCWorkflow
# plone.app.linkintegrity
# plone.app.referenceablebehavior # plone.app.testing
# plone.app.viewletmanager # PloneTestCase
# plone.app.versioningbehavior # PloneTestCase => tests failures in alltests group
[alltests-base]
package-map = package-map
groups = test-groups
exclude-groups =
Archetypes
ATCT
CMF
CMFEditions
zope_tests
exclude =
AccessControl
Acquisition
Babel
Chameleon
ClientForm
DateTime
DocumentTemplate
ExtensionClass
FormEncode
Markdown
Missing
MultiMapping
Persistence
Pillow
Products.BTreeFolder2
Products.CMFCore
Products.ExternalEditor
Products.ExternalMethod
Products.i18ntestcase
Products.MailHost
Products.MIMETools
Products.OFSP
Products.PythonScripts
Products.SecureMailHost
Products.StandardCacheManagers
Products.ZCatalog
Products.ZCTextIndex
Products.ZopeVersionControl
Products.ZSQLMethods
RestrictedPython
Record
Unidecode
WebOb
ZConfig
ZODB3
archetypes.schemaextender
collective.testcaselayer
decorator
docutils
doctest
elementtree
experimental.cssselect
feedparser
five.globalrequest
five.grok
initgroups
interlude
lxml
argparse
mailinglogger
manuel
markdown
mechanize
mock
mocker
nt-svcutils
ordereddict
persistent
Plone
Products.CMFCalendar
Products.TinyMCE
plone.app.blob
plone.app.versioningbehavior
plone.app.collection
plone.app.imaging
plone.app.locales
plone.formwidget.datetime
plone.reload
plonetheme.classic
plonetheme.sunburst
Pygments
python-dateutil
python-gettext
python-openid
pytz
PyYAML
robotframework
robotsuite
rdflib
roman
rwproperty
selenium
six
sourcecodegen
tempstorage
transaction
unittest2
unittest-jshint
wsgi-intercept
zc.lockfile
zc.relation
zc.sourcefactory
z3c.autoinclude
z3c.caching
z3c.coverage
z3c.form
z3c.objpath
z3c.ptcompat
z3c.template
z3c.zcmlhook
zdaemon
zExceptions
zodbcode
zope.*
Zope2
zLOG
ZopeUndo
test-script = ${buildout:bin-directory}/test
[alltests-at-base]
<= alltests-base
default-policy = exclude
include-groups = ${alltests-base:exclude-groups}
include =
archetypes.referencebrowserwidget
archetypes.schemaextender
plone.app.blob
plone.app.collection
plone.app.imaging
[alltests]
<= alltests-base
recipe = plone.recipe.alltests
[alltests-at]
<= alltests-at-base
recipe = plone.recipe.alltests
[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage', '../../coverage', '-v', '--auto-progress']
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport
arguments = ('coverage', 'report')
[flake8]
recipe = zc.recipe.egg
eggs =
flake8
autopep8