-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.cfg
191 lines (175 loc) · 5.47 KB
/
test.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
[buildout]
extensions +=
plone.versioncheck
parts +=
test
testme
coverage
coverageme
report
robot
sphinxbuilder
ploneversioncheck
ipzope
# create bin/test command
[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
#extra-paths = ${buildout:directory}/parts/omelette
#include-site-packages = true
eggs =
${instance1:eggs}
Pillow
Plone
Products.PasswordResetTool [test]
Products.PasswordStrength [test]
collective.eeafaceted.z3ctable [test]
collective.eeafaceted.collectionwidget [test]
collective.behavior.talcondition [test]
collective.ckeditortemplates [test]
collective.classification.tree [test]
collective.classification.folder [test]
collective.contact.contactlist [test]
collective.contact.core [test]
collective.contact.plonegroup [test]
collective.dms.basecontent [test]
collective.dms.batchimport [test]
collective.dms.mailcontent [test]
collective.documentgenerator [test]
collective.eeafaceted.batchactions [test]
collective.eeafaceted.collectionwidget [test]
collective.MockMailHost
collective.querynextprev [test]
collective.task [test]
collective.wfadaptations [test]
dexterity.localroles [test]
dexterity.localrolesfield [test]
imio.actionspanel [test]
imio.dashboard [test]
imio.dms.mail [test]
imio.history [test]
imio.migrator [test]
imio.prettylink [test]
imio.pyutils
imio.transmogrifier.iadocs [test]
imio.zamqp.core [test]
imio.zamqp.dms [test]
ipdb
plone.app.testing
plone.dexterity [test]
plone.formwidget.masterselect [test]
robotframework-selenium2screenshots
environment = testenv
initialization =
from datetime import datetime
print("TESTS RUN ON: {}".format(datetime.strftime(datetime.now(), '%Y-%m-%d %H:%M')))
[testme]
<= test
initialization +=
sys.argv = sys.argv[:] + ['-s', 'imio.dms.mail']
[testenv]
zope_i18n_compile_mo_files = true
# for documentgenerator
# zope_i18n_allowed_languages = fr en
OO_PORT = ${port:oo-port}
PYTHON_UNO = ${port:python-uno}
PUBLIC_URL = ${port:public-url}
decorate_acl_methods = true
ENV = DEV
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
include = '--source=${buildout:directory}/src/collective.contact.plonegroup/src/collective/contact/plonegroup,' \
'${buildout:directory}/src/collective.dms.basecontent/src/collective/dms/basecontent,' \
'${buildout:directory}/src/collective.dms.batchimport/src/collective/dms/batchimport,' \
'${buildout:directory}/src/collective.dms.mailcontent/src/collective/dms/mailcontent,'
sys.argv = sys.argv[:] + ['run', include, 'bin/test', '-s', 'collective.contact.plonegroup',
'-s', 'collective.dms.basecontent', '-s', 'collective.dms.mailcontent',
'-s', 'collective.dms.batchimport',]
[coverageme]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coverageme
initialization =
include = '--source=${buildout:directory}/src/imio.dms.mail/imio/dms/mail,'
sys.argv = sys.argv[:] + ['run', '-a', include, 'bin/test', '-s', 'imio.dms.mail']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['html', '-i']
[robot]
recipe = zc.recipe.egg
eggs =
Pillow
${test:eggs}
plone.app.robotframework [debug] # reload cannot be used with fixture override
robotframework-selenium2screenshots
initialization =
import os
os.environ['ENV'] = 'DEV'
os.environ['zope_i18n_compile_mo_files'] = 'true'
os.environ['PYTHON_UNO'] = '${port:python-uno}'
# os.environ['IS_ROBOT'] = 'true'
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
source = ${buildout:directory}/docs/source
build = ${buildout:directory}/docs
interpreter = ${buildout:directory}/bin/zopepy
[omelette]
eggs +=
${test:eggs}
[ploneversioncheck]
recipe = zc.recipe.egg
eggs = plone.versioncheck
[ipzope]
# An IPython Shell for interactive use with Zope running.
# It requires the `ipy_profile_zope.py` configuration script.
# Get this from [email protected]:collective/dotipython.git
# and put it in your profile directory. `$HOME/.ipython/profile_zope2/startup`,
# wget https://raw.githubusercontent.com/collective/dotipython/master/ipy_profile_zope.py
# or see https://ipython.org/ipython-doc/stable/config/intro.html for more details.
recipe = zc.recipe.egg
eggs =
ipython
${instance1:eggs}
initialization =
import sys, os
os.environ["INSTANCE_HOME"] = "${instance1:location}"
sys.argv[1:1] = "--profile zope2".split()
scripts = ipython=ipzope
[versions]
#tests
collective.MockMailHost = 1.1.0
# cannot be upgraded to 1.3.0 for imio.helpers tests. We have other broken tests...
plone.app.relationfield = 1.2.3
# 1.2 last compatible with plone 4
plone.app.robotframework = 1.2.4
# last working with debug
robotframework = 3.0.4
# last compatible with plone 4
robotframework-debuglibrary = 1.3.1
robotframework-pythonlibcore = 2.1.0
# last working with debug
robotframework-seleniumlibrary = 4.3.0
robotframework-selenium2library = 3.0.0
robotframework-selenium2screenshots = 0.8.1
robotsuite = 2.2.1
selenium = 3.141.0
Sphinx = 1.8.5
sphinxcontrib-robotframework = 0.8.0
# watchdog = 0.10.7
# Required by:
# Sphinx==1.8.5
alabaster = 0.7.12
imagesize = 0.7.1
packaging = 20.9
pyparsing = 2.4.7
snowballstemmer = 1.2.1
sphinxcontrib-websupport = 1.0.1
typing = 3.7.4.3
# Required by:
# watchdog
# pathtools = 0.1.2