-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.cfg
105 lines (94 loc) · 2.59 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
[buildout]
extensions +=
parts +=
test
testme
coverage
coverageme
report
# 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
ric.core [test]
environment = testenv
initialization =
from datetime import datetime
print("TESTS RUN ON: {}".format(datetime.strftime(datetime.now(), '%Y-%m-%d %H:%M')))
# temporary in this old version
sys.argv = sys.argv[:] + ['-s', 'ric.core']
[testme]
<= test
initialization +=
sys.argv = sys.argv[:] + ['-s', 'ric.core']
[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
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
include = '--source=${buildout:directory}/src/ric.core/ric/core,'
sys.argv = sys.argv[:] + ['run', include, 'bin/test', '-s', 'ric.core',]
[coverageme]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coverageme
initialization =
include = '--source=${buildout:directory}/src/ric.core/ric/core,'
sys.argv = sys.argv[:] + ['run', '-a', include, 'bin/test', '-s', 'ric.core']
[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'
[omelette]
eggs +=
${test:eggs}
[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
plone.app.robotframework = 0.9.10
# 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