jstestdriver added to buildout.
svn path=/plone.app.discussion/trunk/; revision=40903
This commit is contained in:
parent
0820d3771f
commit
820fe7dd4e
@ -13,6 +13,9 @@ parts +=
|
||||
coverage-plain
|
||||
coverage-xml
|
||||
coverage-html
|
||||
jstestdriver-build
|
||||
jstestdriver-build-coverage
|
||||
jstestdriver
|
||||
jscoverage-build
|
||||
jscoverage
|
||||
pylint
|
||||
@ -22,7 +25,8 @@ parts +=
|
||||
|
||||
[versions]
|
||||
zope.schema = 3.6.0
|
||||
Sphinx = 0.6.4
|
||||
Sphinx <= 0.7dev
|
||||
collective.recipe.sphinxbuilder = 0.6.3.3
|
||||
Products.TinyMCE = 1.1.1
|
||||
|
||||
[omelette]
|
||||
@ -72,7 +76,29 @@ initialization =
|
||||
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
|
||||
include = '--include=' + '${buildout:package-directory}/*.py'
|
||||
sys.argv = sys.argv[:] + ['html', '-i', include, exclude]
|
||||
|
||||
|
||||
[jstestdriver-build]
|
||||
recipe = hexagonit.recipe.download
|
||||
url = http://js-test-driver.googlecode.com/files/JsTestDriver-1.2.2.jar
|
||||
download-only = True
|
||||
destination = parts/jstestdriver
|
||||
filename = JsTestDriver.jar
|
||||
|
||||
[jstestdriver-build-coverage]
|
||||
recipe = hexagonit.recipe.download
|
||||
url = http://js-test-driver.googlecode.com/files/coverage-1.2.2.jar
|
||||
download-only = True
|
||||
destination = parts/jstestdriver
|
||||
filename = coverage.jar
|
||||
|
||||
[jstestdriver]
|
||||
recipe = collective.recipe.template
|
||||
input = inline:
|
||||
#!/bin/sh
|
||||
java -jar ${buildout:directory}/parts/jstestdriver/JsTestDriver.jar --port 9876 --config ${buildout:package-directory}/tests/jsTestDriver.conf --browser /usr/bin/firefox --tests all --verbose
|
||||
output = ${buildout:directory}/bin/jstestdriver
|
||||
mode = 755
|
||||
|
||||
[jscoverage-build]
|
||||
recipe = zc.recipe.cmmi
|
||||
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2
|
||||
|
Loading…
Reference in New Issue
Block a user