{ "info": { "author": "Uli Fouquet", "author_email": "uli@gnufix.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Plone", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "ulif.plone.testsetup\n********************\n\nis a package that provides some convenience stuff to enable rapid test\nsetup for Plone packages. Currently doctests (normal unit doctests and\nfunctional doctests) and usual Python tests made of\n``unittest.TestCase`` (and derived) definitions are supported.\n\nDoctests and test modules are found throughout a whole package and\nregistered with sensible, modifiable defaults.\n\nAlso support for reusable test setups is provided by so-called\nTestGetters and TestCollectors.\n\nSetting up doctests (contrary to *writing* those tests) can become\ncumbersome with Plone. In the environment you often have to prepare\ncomplex things like test layers, setup functions, teardown functions\nand much more. Often this steps have to be done again and again.\n\n``ulif.plone.testsetup`` can shorten this work by setting sensible\ndefaults for the most important aspects of test setups.\n\nSee `README.txt` in the ``src/ulif/plone/testsetup`` directory for API\ndocumentation. ``ulif.plone.testsetup`` is an extension of the Zope 3\npackage `z3c.testsetup\n`_ in which all the\nbasic stuff is defined and documented. Please see the .txt files in\nthis package for deeper insights about TestCollectors and the like.\n\nNote, that this is alphaware! Do not use it in productive\nenvironments!\n\n\n\nPrerequisites\n=============\n\nYou need::\n\n- Python 2.4. Rumors are, that also Python 2.5 will do.\n\n- `setuptools`, available from \n http://peak.telecommunity.com/DevCenter/setuptools\n\nOther needed packages will be downloaded during\ninstallation. Therefore you need an internet connection during\ninstallation. \n\n\nInstallation\n============\n\nFrom the root of the package run::\n\n $ python2.4 bootstrap/bootstrap.py\n\nThis will download and install everything to run `buildout` in the\nnext step. Afterwards an executable script `buildout` should be\navailable in the freshly created `bin/` directory.\n\nNext, fetch all needed packages, install them and create provided\nscripts::\n\n $ bin/buildout\n\nThis should create an `instance` script in `bin/`.\n\nRunning::\n\n $ bin/instance test -s ulif.plone.testsetup\n\nyou can test the installed package.\n\n\nUsage\n=====\n\nSee `README.txt` and the other .txt files in the\n``src/ulif/plone/testsetup`` directory for API documentation.\n\n\n\n\nDetailed Documentation\n**********************\n\nulif.plone.testsetup\n********************\n\nA package for easier test setups with Plone 3.\n\n``ulif.plone.testsetup`` tries to ease the writing of testsetups. This\ncan be a mess, especially when using Plone. There is always a complex\nframework to setup and all that might afraid people so that they do\nnot write tests at all. In that sense, ``ulif.plone.testsetup`` is a\ntry to take away excuses for not testing.\n\nNote, that this package is meant for use with Plone 3. Other versions\nare not tested! \n\nPlease note also, that this document is *not* an introduction into\nwriting tests, but into *setup* of tests. The difference is, that the\nmany kind of tests supported by Zope and Python need to be found by a\ntestrunner and some, functional tests for example, need a special\nframework to be setup before the tests can actually run. That's what\nthis package is for: minimizing the effort, to find and setup tests.\n\nA Simple Test Setup\n===================\n\nSetting up a test with this package in the minimal form comes down to\nthis::\n\n >>> from ulif.plone.testsetup import register_all_plone_tests\n >>> test_suite = register_all_plone_tests(\n ... 'ulif.plone.testsetup.tests.cave')\n\nThis will find all tests registered in the ``cave`` package and\ndeliver them to a testrunner when called. All we have to do, is to get\nthe ``register_all_plone_tests`` function and to pass it a package.\n\nWe specified the package to be searched for tests by a so-called\ndotted name, but we can also pass the real package::\n\n >>> from ulif.plone.testsetup.tests import cave\n >>> test_suite = register_all_plone_tests(cave)\n\nIn both cases we will get a ``PloneTestCollector``::\n\n >>> test_suite\n \n\nWhen called, it will return a test suite::\n\n >>> test_suite()\n \n\n\n\n\nCHANGES\n*******\n\n0.1.2 (2008-07-11)\n==================\n\nBug fixes\n---------\n\n- Pin down zope.testing version due to incompatibilities with\n ``plone.recipe.zop2install``.\n\n\n0.1.1 (2008-07-11)\n==================\n\nBug fixes\n---------\n\n- Fixed imports according to new z3c.testsetup release.\n\n\n\n0.1 (2008-03-05)\n================\n\nFeature changes\n---------------\n\n- Initial release, factored out from z3c.testsetup-dev\n\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://cheeseshop.python.org/pypi/ulif.plone.testsetup", "keywords": "plone3 plone zope test unittest doctest testsetup", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "ulif.plone.testsetup", "package_url": "https://pypi.org/project/ulif.plone.testsetup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ulif.plone.testsetup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://cheeseshop.python.org/pypi/ulif.plone.testsetup" }, "release_url": "https://pypi.org/project/ulif.plone.testsetup/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Easier test setup for Plone 3 projects.", "version": "0.1.2" }, "last_serial": 61390, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d4ae28147e5a745992cae980bdf77008", "sha256": "2a00ff15c724e45acc661ab54b5bb7380bb5790c29db0c526903284765406fc3" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1-py2.4.egg", "has_sig": false, "md5_digest": "d4ae28147e5a745992cae980bdf77008", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 17595, "upload_time": "2008-03-05T15:21:04", "url": "https://files.pythonhosted.org/packages/c4/81/5ca773ea74d91cc8074103f47c063f9a73999364e6dd1fe57195f380dce8/ulif.plone.testsetup-0.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "21bbbb9fdb0aa886525347ee9db34cac", "sha256": "34adb769e9790dcb7f9f38543843d0aa31bdf65293cf920a2d37582e5c5117d6" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.tar.gz", "has_sig": false, "md5_digest": "21bbbb9fdb0aa886525347ee9db34cac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8838, "upload_time": "2008-03-05T15:21:06", "url": "https://files.pythonhosted.org/packages/f0/19/0e4ec20dfcea7f52cc7a14f99ce2d18ab008d9c369443bfa31400b5014fb/ulif.plone.testsetup-0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "331a5a135fc27a77996d21d82a241e70", "sha256": "c1ddd1f91e6d2996e9429812bd4dc4e7c7ce75bbd6ab8ae8a71ea5b463d17e8c" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.zip", "has_sig": false, "md5_digest": "331a5a135fc27a77996d21d82a241e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19016, "upload_time": "2008-03-05T15:21:05", "url": "https://files.pythonhosted.org/packages/8a/80/546ac161422af538d5e801a5045022afd68bd32a8e35115b2fc16e513b36/ulif.plone.testsetup-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0ca7439c80f51d99acfc11b8615dbec2", "sha256": "2dec8bbdf75ce8a9e521296bea457a8b0ebf75fb38507bae2e667e6ac77f0548" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0ca7439c80f51d99acfc11b8615dbec2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8921, "upload_time": "2008-07-11T16:29:17", "url": "https://files.pythonhosted.org/packages/58/0f/52653316b3cce9f1e26318b6f77b3ef24a5f989f80d1a0be2596ad0ef95b/ulif.plone.testsetup-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "0363809d94fcc81c5c44c36b8ad55cab", "sha256": "24f3c66beb2a1d401531c1fa41e65ec99da6176440678a66791891a610d215c0" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.1.zip", "has_sig": false, "md5_digest": "0363809d94fcc81c5c44c36b8ad55cab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19246, "upload_time": "2008-07-11T16:29:18", "url": "https://files.pythonhosted.org/packages/57/54/b5280f3dfa1bd2aed98f688daca4a2d65f9988e559e47282f517d8b17963/ulif.plone.testsetup-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7d34806c1412145c56fab603731293ff", "sha256": "54b24fde670b650e4f8cff5e6dd4dcc07299547f4240d1840722d784f2f5d76e" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7d34806c1412145c56fab603731293ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9025, "upload_time": "2008-07-11T21:52:44", "url": "https://files.pythonhosted.org/packages/55/8a/3f46dc463743319382d355a61ca2d580e189d38a9443bc1194ef544ec868/ulif.plone.testsetup-0.1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "a4b875f7d5723a0b51335bddd485e3e9", "sha256": "626f0127d762c5bce37c66dd4d6662ddacab409ddd6a0c03cb44b329f0391861" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.2.zip", "has_sig": false, "md5_digest": "a4b875f7d5723a0b51335bddd485e3e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19532, "upload_time": "2008-07-11T21:52:46", "url": "https://files.pythonhosted.org/packages/7e/a1/940b8437b3cdf32476bd2bd405a80dbe9078e763b6def0e342ad4b56b03a/ulif.plone.testsetup-0.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d34806c1412145c56fab603731293ff", "sha256": "54b24fde670b650e4f8cff5e6dd4dcc07299547f4240d1840722d784f2f5d76e" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7d34806c1412145c56fab603731293ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9025, "upload_time": "2008-07-11T21:52:44", "url": "https://files.pythonhosted.org/packages/55/8a/3f46dc463743319382d355a61ca2d580e189d38a9443bc1194ef544ec868/ulif.plone.testsetup-0.1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "a4b875f7d5723a0b51335bddd485e3e9", "sha256": "626f0127d762c5bce37c66dd4d6662ddacab409ddd6a0c03cb44b329f0391861" }, "downloads": -1, "filename": "ulif.plone.testsetup-0.1.2.zip", "has_sig": false, "md5_digest": "a4b875f7d5723a0b51335bddd485e3e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19532, "upload_time": "2008-07-11T21:52:46", "url": "https://files.pythonhosted.org/packages/7e/a1/940b8437b3cdf32476bd2bd405a80dbe9078e763b6def0e342ad4b56b03a/ulif.plone.testsetup-0.1.2.zip" } ] }