{ "info": { "author": "Zope Foundation and Contributors", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython" ], "description": ".. contents::\n\n=======\nCHANGES\n=======\n\n1.0 (2013-03-02)\n================\n\n- Depend on buildout 2 and zc.recipe.testrunner 2.\n\n\n0.13.1 (2010-12-17)\n===================\n\n- Fix tests on windows.\n\n- Fix for use with a python executable from inside a virtualenv.\n\n\n0.13 (2010-10-07)\n=================\n\n- Depend on and use the new features of the zc.buildout 1.5 line. At the same\n time support for zc.buildout <= 1.5.1 has been dropped.\n\n- Updated test set up, to run with newer ``zope.testing`` version which no\n longer includes testrunner.\n\n- The z3c.recipe.scripts.scripts recipe behind zc.recipe.testrunner.TestRunner\n does not accept plain dicts anymore, so we wrap the options in a\n _BackwardsSupportOptions object. Ideally this should've use an official\n API though.\n\n0.12.2 (2010-02-24)\n===================\n\n- Moved the gathering of include-dependencies from the __init__ to the update\n method to prevent installing dependencies before other buildout parts could\n do their job.\n\n0.12.1 (2009-12-15)\n===================\n\n- Fixed bug in using exclude introduced in 0.12 (including test to make sure\n it doesn't happen again).\n\n\n0.12 (2009-12-14)\n=================\n\n- Added ``include-dependencies`` option that automatically includes the\n dependencies of the specified packages. Very handy to get an automatically\n updated list of those packages that are most useful to test: all our\n dependencies.\n\n\n0.11 (2009-09-30)\n=================\n\n- Removed the \"check out packages from subversion\" feature.\n If you require such functionality, mr.developer\n provides this much more\n comprehensively (and for multiple version control systems, too) .\n\n0.10 (2009-09-28)\n=================\n\n- Options prefixed by ``runner-`` are automatically passed to generated test\n runners.\n\n0.9 (2009-09-14)\n================\n\n- Test runner: return the exit code 1 in case of test failures; this simplifies\n buildbot configurations.\n\n0.8 (2009-08-17)\n================\n\n- Windoes is now supported.\n\n- Changed the default master script name to the part name. (Don't add\n a \"test-\" prefix any more.)\n\n0.7 (2009-08-13)\n================\n\n- Simplified building the list of packages even more: we now just take a list of\n packages, period.\n\n0.6 (2009-08-07)\n================\n\n- Restructured the way we construct our list of packages to test:\n We no longer filter a list we retrieved from SVN with includes/excludes,\n but use an explicit list that can be populated from a buildout section,\n e. g. [versions]. Thus, we can now easily test against a KGS.\n- Always enable all extras of packages under test.\n\n0.5 (2009-01-29)\n================\n\n- Fix duplicate `url` parameter in setup.py that confused Python 2.4 but\n got accepted by Python 2.5.\n\n0.4 (2009-01-29)\n================\n\n- Ignore missing package releases for packages listed in Subversion (as\n long as we don't try to run from Subversion).\n\n- Allow parallel execution of the individual test runners by stating\n 'max_jobs=X' in the recipe's options.\n\n0.3 (2009-01-28)\n================\n\n- Adding the exclude parameter in buildout causes the default exclude\n list to be merged with the option in buildout.cfg.\n\n0.2 (2009-01-28)\n================\n\n- Implemented use_svn option to use SVN trunk checkouts instead of released\n versions.\n\n0.1 (2009-01-28)\n================\n\n- first released version\n\n\n======================\nDetailed Documentation\n======================\n\n=====================\nz3c.recipe.compattest\n=====================\n\nThis buildout recipe generates a list of packages to test and a test runner\nthat runs each package's tests (isolated from any other tests).\nThis is useful to check that the changes made while developing a package\ndo not break any packages that are using this package.\n\nUsage\n=====\n\nAdd a part to your buildout.cfg that uses this recipe.\nNo further configuration is required, but you can set the following options:\n\n- ``include``: list of packages to include (whitespace-separated)\n (default: empty)\n- ``include-dependencies``: list of packages to include *including* their\n direct dependencies. (default: empty)\n- ``exclude``: packages matching any regex in this list will be excluded\n (default: empty)\n- ``script``: the name of the runner script (defaults to the part name)\n\n>>> cd(sample_buildout)\n>>> write('buildout.cfg', \"\"\"\n... [buildout]\n... parts = compattest\n...\n... [compattest]\n... recipe = z3c.recipe.compattest\n... include = z3c.recipe.compattest\n... \"\"\")\n\n>>> 'Installing compattest' in system(buildout)\nTrue\n\nDetails\n=======\n\nThe recipe generates a test runner for each package, as well as a global runner\nscript (called `test-compat` by default) that will run all of them:\n\n>>> ls('bin')\n- buildout\n- compattest\n- compattest-z3c.recipe.compattest\n\n>>> cat('bin', 'compattest')\n#!...python...\n...main(...compattest-z3c.recipe.compattest...\n\nWe take care about installing the test dependencies for the packages\n(from their ``extras_require['test']``). Do demonstrate this, we\ndeclared a (superfluous) test dependency on ``zope.dottedname``, which is\npicked up:\n\n>>> try:\n... print('start')\n... cat('parts', 'compattest-z3c.recipe.compattest', 'site-packages', 'site.py')\n... except IOError:\n... print('start')\n... # When the tests are run from a virtualenv, the bin scripts are created\n... # in a different location.\n... cat('bin', 'compattest-z3c.recipe.compattest')\nstart\n...zope.dottedname...\n\nIf we use ``include-dependencies`` instead of just ``include``, our direct\ndependencies are also picked up, for instance zc.buildout:\n\n>>> write('buildout.cfg', \"\"\"\n... [buildout]\n... parts = compattest\n...\n... [compattest]\n... recipe = z3c.recipe.compattest\n... include-dependencies = z3c.recipe.compattest\n... \"\"\")\n>>> print('start', system(buildout))\nstart...\nGenerated script '/sample-buildout/bin/compattest-zc.buildout'.\n...\nGenerated script '/sample-buildout/bin/compattest'...\n\nAll our direct dependencies have a test script now:\n\n>>> ls('bin')\n- buildout\n- compattest\n- compattest-z3c.recipe.compattest\n- compattest-zc.buildout\n- compattest-zc.recipe.testrunner\n\nAnd if you want to exclude one of the automatically included dependencies, use\nthe ``exclude`` option:\n\n>>> write('buildout.cfg', \"\"\"\n... [buildout]\n... parts = compattest\n...\n... [compattest]\n... recipe = z3c.recipe.compattest\n... include-dependencies = z3c.recipe.compattest\n... exclude = zc.buildout\n... \"\"\")\n>>> print('start', system(buildout))\nstart...\nGenerated script '/sample-buildout/bin/compattest'...\n\n``bin/compattest-zc.buildout`` is now missing:\n\n>>> ls('bin')\n- buildout\n- compattest\n- compattest-z3c.recipe.compattest\n- compattest-zc.recipe.testrunner\n\n\n\nPassing options to the test runners\n===================================\n\nIf you want to use custom options in the generated test runners, you can specify\nthem in the part options, prefixed by ``runner-``. That is, if you want to pass\nthe ``--foo`` option by default to all generated test runners, you can set\n``runner-defaults = ['--foo']`` in your part:\n\n>>> write('buildout.cfg', \"\"\"\n... [buildout]\n... parts = compattest\n...\n... [compattest]\n... recipe = z3c.recipe.compattest\n... include = z3c.recipe.compattest\n... runner-defaults = ['-c', '-v', '-v']\n... \"\"\")\n>>> ignore = system(buildout)\n>>> cat('bin', 'compattest-z3c.recipe.compattest')\n#!...python...\n...run(...['-c', '-v', '-v']...\n\nEvery options prefixed by ``runner-`` will be automatically passed to the\ngenerated test runners.\n\n\nPassing Extra paths to the test runners\n=======================================\n\nIf you want to add some paths to the generated test runners, you can do it with\nthe extra-paths option in the part. This might be interesting if you want to test packages\nthat depends on zope2 < 2.12:\n\n>>> write('buildout.cfg', \"\"\"\n... [buildout]\n... parts = compattest\n...\n... [compattest]\n... recipe = z3c.recipe.compattest\n... include = z3c.recipe.compattest\n... extra-paths = zope2location/lib/python\n... \"\"\")\n>>> ignore = system(buildout)\n>>> try:\n... print('start')\n... cat('parts', 'compattest-z3c.recipe.compattest', 'site-packages', 'site.py')\n... except IOError:\n... print('start')\n... # When the tests are run from a virtualenv, the bin scripts are created\n... # in a different location.\n... cat('bin', 'compattest-z3c.recipe.compattest')\nstart\n...zope2location/lib/python...", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/z3c.recipe.compattest", "keywords": "zope setuptools egg kgs", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "z3c.recipe.compattest", "package_url": "https://pypi.org/project/z3c.recipe.compattest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/z3c.recipe.compattest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/z3c.recipe.compattest" }, "release_url": "https://pypi.org/project/z3c.recipe.compattest/1.0/", "requires_dist": null, "requires_python": null, "summary": "Buildout recipe to create testrunners for testing compatibility with other packages", "version": "1.0" }, "last_serial": 802072, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "307e5311a7a8d7664889fbd04d4cc74e", "sha256": "230d02039ae40fa502878710bb6291690c7b535a46ddf698d362c2f7946d7dd8" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.1.tar.gz", "has_sig": false, "md5_digest": "307e5311a7a8d7664889fbd04d4cc74e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5650, "upload_time": "2009-01-28T12:41:10", "url": "https://files.pythonhosted.org/packages/1f/f6/613f65765ab15e77f8d8b9e80ccda45b1bf6107bdb16d919fac4cd71a0fd/z3c.recipe.compattest-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "263533061f033d07215d344729f152b8", "sha256": "bc0a265eadad2775163e6ac380fd60931e294205aaf2026bb7c57a4517bb0a1f" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.10.tar.gz", "has_sig": false, "md5_digest": "263533061f033d07215d344729f152b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9125, "upload_time": "2009-09-28T08:52:01", "url": "https://files.pythonhosted.org/packages/21/9f/a0863229f5c203cef4139ee1aea9c8e012a712db0abc59ec21c4a1526467/z3c.recipe.compattest-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "e2d894a04eff08628a42a2e262aa7e8c", "sha256": "8133a5a6d8f8b5568cb038c9bce0dae986b31b000cb6f2d08e4ac0c61401badc" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.11.tar.gz", "has_sig": false, "md5_digest": "e2d894a04eff08628a42a2e262aa7e8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7952, "upload_time": "2009-09-30T09:18:01", "url": "https://files.pythonhosted.org/packages/da/f2/98092948309861b596669072f74c255666d10156df8f6da687d310d09658/z3c.recipe.compattest-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "34e80860e4eaa11412fdbeb44edde6f7", "sha256": "56738abba02db4b8517f380f7f53b0fe334d6b7246d4c1f9b3a4c711f12f989b" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.12.tar.gz", "has_sig": false, "md5_digest": "34e80860e4eaa11412fdbeb44edde6f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8670, "upload_time": "2009-12-14T07:34:43", "url": "https://files.pythonhosted.org/packages/e4/80/b921435dd12a56f686dde5c8dcb3d22565fc9ea410a124da8d3137446a19/z3c.recipe.compattest-0.12.tar.gz" } ], "0.12.1": [ { "comment_text": "", "digests": { "md5": "8d692518ffefb9910bca9b6ffb119fc0", "sha256": "9b3055ea990e0026a764460706ba941814654df8ce321499095e9d4d2d6b3c07" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.12.1.tar.gz", "has_sig": false, "md5_digest": "8d692518ffefb9910bca9b6ffb119fc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8911, "upload_time": "2009-12-15T15:31:47", "url": "https://files.pythonhosted.org/packages/e1/19/b0a966877f7e8ac7451fe168d86b9d6c83b5b374e584214d58a2c37e907f/z3c.recipe.compattest-0.12.1.tar.gz" } ], "0.12.2": [ { "comment_text": "", "digests": { "md5": "ed5a1bde7ce384154721913846c736c7", "sha256": "4c7e63aaf6389a86b747c04c6431c3173a9eb168ba9441043b45a1445c5319b3" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.12.2.tar.gz", "has_sig": false, "md5_digest": "ed5a1bde7ce384154721913846c736c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10630, "upload_time": "2010-02-24T18:07:24", "url": "https://files.pythonhosted.org/packages/8e/34/0bf904417f8bbaa5916e4957e0ad4cbfb385b157b1e65c8abc09eef24eed/z3c.recipe.compattest-0.12.2.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "f58f0865c95f98ebc0e7d4f2d334ea1d", "sha256": "ecc7fff7d4f24f10e87dadda168c999a6909441ea78b056c3bdaa277b88a8a00" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.13.tar.gz", "has_sig": false, "md5_digest": "f58f0865c95f98ebc0e7d4f2d334ea1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12289, "upload_time": "2010-10-07T14:31:17", "url": "https://files.pythonhosted.org/packages/25/e8/b9f87daabcd17d15f10d5be15f663ed38153599c0dc3f4b6a513f74de83b/z3c.recipe.compattest-0.13.tar.gz" } ], "0.13.1": [ { "comment_text": "", "digests": { "md5": "9f69557a3794c77eea231a2ddac101d7", "sha256": "3190a0c468e379c8227d4151eb7e3870bfc78e56cda41f9a29eb4aab17fd37d1" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.13.1.tar.gz", "has_sig": false, "md5_digest": "9f69557a3794c77eea231a2ddac101d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16046, "upload_time": "2010-12-17T12:35:20", "url": "https://files.pythonhosted.org/packages/dc/c4/dfff707788ff4f0bbe0a95ab270913f5c01046d1c08b49dabad7690821f0/z3c.recipe.compattest-0.13.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "748fa5d343e9d9b90e9ae0b3b66ac17f", "sha256": "ba99ee89054566790979561f95f7c2f3261f753dad12b941f27b0329a6054dde" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.2.tar.gz", "has_sig": false, "md5_digest": "748fa5d343e9d9b90e9ae0b3b66ac17f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6954, "upload_time": "2009-01-28T14:19:56", "url": "https://files.pythonhosted.org/packages/d1/cc/36c84190f98839b3bdf72481c5f226310085045799af64569a8c6e5538c1/z3c.recipe.compattest-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "2bea87dad3ffb9330b49411d39278ee2", "sha256": "4aa0a420b16314464a440fd716803a96758fd5669b038dccb4387fc408b9b54b" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.3.tar.gz", "has_sig": false, "md5_digest": "2bea87dad3ffb9330b49411d39278ee2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7020, "upload_time": "2009-01-28T17:49:45", "url": "https://files.pythonhosted.org/packages/bb/3e/63de4534b7e9f359dca245c251a828aa71717fcf3e661abeeea7963c2a15/z3c.recipe.compattest-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "7b40ab45f1bdab7e0fb19805a6e04492", "sha256": "97b1067546a3b8bade9d4044becee571c6320d10d49f687f1352a0d4372b9573" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.4.tar.gz", "has_sig": false, "md5_digest": "7b40ab45f1bdab7e0fb19805a6e04492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8077, "upload_time": "2009-01-29T09:20:17", "url": "https://files.pythonhosted.org/packages/97/e0/a6b409b860c8c30398c3339325370f66cb58ad10507265a5c355605d38da/z3c.recipe.compattest-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "34a620c7457e700957e85fe768e36aa4", "sha256": "f1fbbb7d36d15ef718adb5b6dbe029d40dacb72849931af64806399393fda9ab" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.5.tar.gz", "has_sig": false, "md5_digest": "34a620c7457e700957e85fe768e36aa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8183, "upload_time": "2009-01-29T09:30:34", "url": "https://files.pythonhosted.org/packages/81/99/a6089e75b5d7c2fa15f52bb72195e6fdd8f35e74081a920e28dc8377d4b2/z3c.recipe.compattest-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "7fad03bfad978c83dcf66c9b1f4a83ac", "sha256": "004f14545cd8ef063bb521ca627406aad7fca67e23736be66474433f40f4ea9b" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.6.tar.gz", "has_sig": false, "md5_digest": "7fad03bfad978c83dcf66c9b1f4a83ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8447, "upload_time": "2009-08-07T11:28:33", "url": "https://files.pythonhosted.org/packages/72/4e/f37d1b4644ad51b64d13df9905f3174a4cc785bb39e2c16419e709d3b8a2/z3c.recipe.compattest-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "f47bf6da5d4c57808e2d049af88adffa", "sha256": "adccdb8e13ec33af9ee1c9f94f6b9c3151b68943ea6de190638f28a89ceca3fe" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.7.tar.gz", "has_sig": false, "md5_digest": "f47bf6da5d4c57808e2d049af88adffa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8202, "upload_time": "2009-08-13T08:22:28", "url": "https://files.pythonhosted.org/packages/5e/10/74786601372de2538f78921a7b921279051a4bb268a8a593bab9b4f43260/z3c.recipe.compattest-0.7.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "2bd0efc6009a9151d3eee25a714d7ed4", "sha256": "c4e7b2cbd6be4dbdc69a1eae45f16b4ff5b55f9d023667c73a675b8ef1cab30b" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.8.0.tar.gz", "has_sig": false, "md5_digest": "2bd0efc6009a9151d3eee25a714d7ed4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9687, "upload_time": "2009-08-17T15:12:55", "url": "https://files.pythonhosted.org/packages/89/43/e1ce78b56dd67784c82ba27ecba52acd9656b8901a3734542b7938307edf/z3c.recipe.compattest-0.8.0.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "d1a9200932a6d8ddabfab438863e1a38", "sha256": "57533764057f51c2ea4c90ed81457be9615ffdc470eba3232db11b2cebeb0108" }, "downloads": -1, "filename": "z3c.recipe.compattest-0.9.tar.gz", "has_sig": false, "md5_digest": "d1a9200932a6d8ddabfab438863e1a38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9898, "upload_time": "2009-09-14T17:06:39", "url": "https://files.pythonhosted.org/packages/5b/9e/1eef945c6fd22fa1ac25ccb26ddeb8924cdb396c3e393b51f0abbc60af03/z3c.recipe.compattest-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "87509699dd58cb5991f1133462d1add4", "sha256": "f8ec333269b5c07aaa92b4347a176861931881f9db5f7e31311ef13f41d21ec6" }, "downloads": -1, "filename": "z3c.recipe.compattest-1.0.zip", "has_sig": true, "md5_digest": "87509699dd58cb5991f1133462d1add4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20530, "upload_time": "2013-03-02T20:26:10", "url": "https://files.pythonhosted.org/packages/6c/a0/1decaae82a9cce61408c826003e962c1a8476ede8091fd490ed86d2b4461/z3c.recipe.compattest-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "87509699dd58cb5991f1133462d1add4", "sha256": "f8ec333269b5c07aaa92b4347a176861931881f9db5f7e31311ef13f41d21ec6" }, "downloads": -1, "filename": "z3c.recipe.compattest-1.0.zip", "has_sig": true, "md5_digest": "87509699dd58cb5991f1133462d1add4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20530, "upload_time": "2013-03-02T20:26:10", "url": "https://files.pythonhosted.org/packages/6c/a0/1decaae82a9cce61408c826003e962c1a8476ede8091fd490ed86d2b4461/z3c.recipe.compattest-1.0.zip" } ] }