Skip to content
Newer
Older
100644 77 lines (65 sloc) 1.98 KB
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
1 [buildout]
2 extends =
40073ce @gotcha trunk is now for 4.1;
gotcha authored
3 http://dist.plone.org/release/4.1b1/versions.cfg
3144bb1 @hannosch Update to use proper coverage reporting
hannosch authored
4 parts = coverage test test-chrome test-ie report report-xml
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
5 develop = .
3f24b63 @rpatterson Add plone.testing/trunk using mr.developer to test and develop both a…
rpatterson authored
6
7 extensions = mr.developer
8 sources = sources
9 auto-checkout = plone.testing
2acf40d @gotcha merge branch genericsetup-no-global-registry
gotcha authored
10 Products.GenericSetup
40073ce @gotcha trunk is now for 4.1;
gotcha authored
11
12 [versions]
13 Products.CMFEditions = 2.0.6
14 plone.app.testing =
3f24b63 @rpatterson Add plone.testing/trunk using mr.developer to test and develop both a…
rpatterson authored
15
16 [sources]
17 plone.testing = svn https://svn.plone.org/svn/plone/plone.testing/trunk
2acf40d @gotcha merge branch genericsetup-no-global-registry
gotcha authored
18 Products.GenericSetup = svn svn+ssh://svn.zope.org/repos/main/Products.GenericSetup/trunk
19 Products.CMFEditions = svn https://svn.plone.org/svn/collective/Products.CMFEditions/branches/2.0
d9d8b09 @hannosch Moved selenium tests to level 2, so you can run the normal tests with…
hannosch authored
20
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
21 [test]
3144bb1 @hannosch Update to use proper coverage reporting
hannosch authored
22 recipe = collective.xmltestreport
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
23 eggs =
24 PILwoTk
3f24b63 @rpatterson Add plone.testing/trunk using mr.developer to test and develop both a…
rpatterson authored
25 plone.testing [test]
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
26 plone.app.testing [test]
d9d8b09 @hannosch Moved selenium tests to level 2, so you can run the normal tests with…
hannosch authored
27 defaults = ['--auto-color', '--auto-progress']
f5c8e12 @rpatterson Use a SELENIUM_ARGS to support modifying the webdriver invocation. This
rpatterson authored
28 selenium-driver =
29 environment = testenv
30
31 [testenv]
32 SELENIUM_DRIVER = ${test:selenium-driver}
33 SELENIUM_ARGS =
34 ## Uncomment and/or change the value to specify the line separated
35 ## args selenium.*.webdriver uses when starting the browser. For
36 ## example, with Firefox, you can specify a profile that has firebug
4f2a76e @zupo Added a warning not to use 'default' Firefox profile for selenium tests
zupo authored
37 ## installed.
38 ## IMPORTANT: do NOT use your default Firefox profile for this purpose,
39 ## but rather create a new profile, dedicated for webdriver
40 ## http://support.mozilla.com/en-US/kb/managing+profiles
41 # webdriver
7a8a9eb @rpatterson Use the Selenium 2 web driver. This removes the need to download any jar
rpatterson authored
42
d9d8b09 @hannosch Moved selenium tests to level 2, so you can run the normal tests with…
hannosch authored
43 [test-firefox]
44 <= test
45 defaults = ['--auto-color', '--auto-progress', '--all']
46
baea448 @rpatterson Get tests to pass under both firefix and chrome
rpatterson authored
47 [test-chrome]
48 <= test
f5c8e12 @rpatterson Use a SELENIUM_ARGS to support modifying the webdriver invocation. This
rpatterson authored
49 selenium-driver = chrome
d9d8b09 @hannosch Moved selenium tests to level 2, so you can run the normal tests with…
hannosch authored
50 defaults = ['--auto-color', '--auto-progress', '--all']
baea448 @rpatterson Get tests to pass under both firefix and chrome
rpatterson authored
51
52 [test-ie]
53 <= test
f5c8e12 @rpatterson Use a SELENIUM_ARGS to support modifying the webdriver invocation. This
rpatterson authored
54 selenium-driver = ie
d9d8b09 @hannosch Moved selenium tests to level 2, so you can run the normal tests with…
hannosch authored
55 defaults = ['--auto-color', '--auto-progress', '--all']
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
56
3144bb1 @hannosch Update to use proper coverage reporting
hannosch authored
57 [coverage]
0c34d33 @rpatterson Add a testing buildout
rpatterson authored
58 recipe = zc.recipe.egg
3144bb1 @hannosch Update to use proper coverage reporting
hannosch authored
59 eggs = coverage
60 initialization =
2acf40d @gotcha merge branch genericsetup-no-global-registry
gotcha authored
61 include = '--source=${buildout:directory}/plone'
3144bb1 @hannosch Update to use proper coverage reporting
hannosch authored
62 sys.argv = sys.argv[:] + ['run', include, 'bin/test', '--xml']
63
64 [report]
65 recipe = zc.recipe.egg
66 eggs = coverage
67 scripts = coverage=report
68 initialization =
69 sys.argv = sys.argv[:] + ['html', '-i']
70
71 [report-xml]
72 recipe = zc.recipe.egg
73 eggs = coverage
74 scripts = coverage=report-xml
75 initialization =
76 sys.argv = sys.argv[:] + ['xml', '-i']
Something went wrong with that request. Please try again.