[Checkins] SVN: zc.selenium/branches/wosc-zope2/ provide a self-test for zope3 and zope2

Wolfgang Schnerring wosc at wosc.de
Tue Feb 17 05:02:53 EST 2009


Log message for revision 96631:
  provide a self-test for zope3 and zope2
  

Changed:
  D   zc.selenium/branches/wosc-zope2/buildout.cfg
  A   zc.selenium/branches/wosc-zope2/zope2.cfg
  A   zc.selenium/branches/wosc-zope2/zope3.cfg

-=-
Deleted: zc.selenium/branches/wosc-zope2/buildout.cfg
===================================================================
--- zc.selenium/branches/wosc-zope2/buildout.cfg	2009-02-17 10:02:27 UTC (rev 96630)
+++ zc.selenium/branches/wosc-zope2/buildout.cfg	2009-02-17 10:02:52 UTC (rev 96631)
@@ -1,57 +0,0 @@
-[buildout]
-parts =
-    test
-    py
-    application demo selenium
-develop = .
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zc.selenium
-defaults = '--tests-pattern [fn]?tests --exit-with-status -1'.split()
-working-directory = ${buildout:directory}
-
-[py]
-recipe = zc.recipe.egg
-eggs = zc.selenium
-interpreter = py
-
-
-### Selenium tests
-
-[application]
-recipe = zc.zope3recipes:application
-servers = zserver
-eggs =
-   ZODB3 == 3.8.1
-   zc.selenium
-   zope.app.server
-   zope.app.zcmlfiles
-site.zcml = <include package="zope.app.zcmlfiles" />
-            <include package="zope.app.server" />
-            <include package="zc.selenium" />
-            <include package="zc.selenium" file="tests.zcml" />
-
-[demo]
-recipe = zc.zope3recipes:instance
-application = application
-zope.conf =
-    devmode on
-    <zodb>
-      <demostorage>
-      </demostorage>
-    </zodb>
-    <server http0>
-      address 39857
-      type WSGI-HTTP
-    </server>
-    
-
-[selenium]
-recipe = zc.recipe.egg:scripts
-eggs = ${application:eggs}
-scripts = selenium
-entry-points = selenium=zc.selenium.selenium:main
-initialization =
-    sys.argv[1:1] = ['${demo:run-directory}/zope.conf', '-r']
-

Added: zc.selenium/branches/wosc-zope2/zope2.cfg
===================================================================
--- zc.selenium/branches/wosc-zope2/zope2.cfg	                        (rev 0)
+++ zc.selenium/branches/wosc-zope2/zope2.cfg	2009-02-17 10:02:52 UTC (rev 96631)
@@ -0,0 +1,58 @@
+[buildout]
+develop = .
+parts = zope2 fakezope2eggs productdistros z2instance selenium-zope2
+
+[zope2]
+recipe = plone.recipe.zope2install
+url = http://www.zope.org/Products/Zope/2.9.9/Zope-2.9.9-final.tgz
+
+[fakezope2eggs]
+recipe = affinitic.recipe.fakezope2eggs
+additional-fake-eggs =
+    ZODB3
+    mechanize
+    ClientForm
+
+[productdistros]
+recipe = plone.recipe.distros
+urls =
+    http://codespeak.net/z3/five/release/Five-1.4.4.tgz
+version-suffix-packages =
+
+[z2instance]
+recipe = plone.recipe.zope2instance
+zope2-location = ${zope2:location}
+user = admin:admin
+http-address = 39858
+debug-mode = on
+verbose-security = on
+eggs = zc.selenium
+# XXX: copied from Five, since plone.recipe.zope2instance can't deal with files
+# called 'tests.zcml', only configure, meta and overrides. :-(
+site-zcml =
+  <configure xmlns="http://namespaces.zope.org/zope"
+	       xmlns:meta="http://namespaces.zope.org/meta"
+           xmlns:five="http://namespaces.zope.org/five">
+
+  <include package="Products.Five" />
+  <meta:redefinePermission from="zope2.Public" to="zope.Public" />
+  <include files="package-includes/*-meta.zcml" />
+  <five:loadProducts file="meta.zcml"/>
+  <include files="package-includes/*-configure.zcml" />
+  <include package="zc.selenium" />
+  <include package="zc.selenium" file="tests.zcml" />
+  <five:loadProducts />
+  <includeOverrides files="package-includes/*-overrides.zcml" />
+  <five:loadProductsOverrides />
+  </configure>
+products = ${productdistros:location}
+
+[selenium-zope2]
+recipe = zc.recipe.egg:scripts
+eggs = ${z2instance:eggs}
+extra-paths = ${zope2:location}/lib/python
+            ${zope2:location}/lib/python/AccessControl
+scripts = selenium-zope2
+entry-points = selenium-zope2=zc.selenium.selenium:main
+initialization =
+    sys.argv[1:1] = ['${z2instance:location}/etc/zope.conf', '-r', '-z', 'zope2']

Copied: zc.selenium/branches/wosc-zope2/zope3.cfg (from rev 96618, zc.selenium/branches/wosc-zope2/buildout.cfg)
===================================================================
--- zc.selenium/branches/wosc-zope2/zope3.cfg	                        (rev 0)
+++ zc.selenium/branches/wosc-zope2/zope3.cfg	2009-02-17 10:02:52 UTC (rev 96631)
@@ -0,0 +1,57 @@
+[buildout]
+parts =
+    test
+    py
+    application z3instance selenium
+develop = .
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zc.selenium
+defaults = '--tests-pattern [fn]?tests --exit-with-status -1'.split()
+working-directory = ${buildout:directory}
+
+[py]
+recipe = zc.recipe.egg
+eggs = zc.selenium
+interpreter = py
+
+
+### Selenium tests
+
+[application]
+recipe = zc.zope3recipes:application
+servers = zserver
+eggs =
+   ZODB3 == 3.8.1
+   zc.selenium
+   zope.app.server
+   zope.app.zcmlfiles
+site.zcml = <include package="zope.app.zcmlfiles" />
+            <include package="zope.app.server" />
+            <include package="zc.selenium" />
+            <include package="zc.selenium" file="tests.zcml" />
+
+[z3instance]
+recipe = zc.zope3recipes:instance
+application = application
+zope.conf =
+    devmode on
+    <zodb>
+      <demostorage>
+      </demostorage>
+    </zodb>
+    <server http0>
+      address 39857
+      type WSGI-HTTP
+    </server>
+    
+
+[selenium]
+recipe = zc.recipe.egg:scripts
+eggs = ${application:eggs}
+scripts = selenium
+entry-points = selenium=zc.selenium.selenium:main
+initialization =
+    sys.argv[1:1] = ['${z3instance:run-directory}/zope.conf', '-r']
+


Property changes on: zc.selenium/branches/wosc-zope2/zope3.cfg
___________________________________________________________________
Added: svn:mergeinfo
   + 



More information about the Checkins mailing list