{ "info": { "author": "Reinout van Rees", "author_email": "reinout@vanrees.org", "bugtrack_url": null, "classifiers": [], "description": "createzopecoverage\n==================\n\ncreatezopecoverage provides a ``bin/createzopecoverage`` script that serves as\na one-line coverage report generator. It is essentially a wrapper around\n`z3c.coverage `_. It is intended\nfor use inside buildouts, so there are two assumptions:\n\n- The directory you run this script from is the root of the buildout.\n\n- There is a ``bin/test``.\n\nAnd yes, it assumes a z3c.coverage, so a zope test setup. It doesn't work\nwith a \"regular\" coverage.py setup.\n\n\nInstallation and use\n--------------------\n\nTo install, add ``createzopecoverage`` to a zc.recipe.egg section. You often\nalready have one for common scripts. So something like this::\n\n [buildout]\n ...\n parts =\n ...\n console_scripts\n\n [console_scripts]\n recipe = zc.recipe.egg\n eggs =\n ...\n createzopecoverage\n\nalternatively you may use::\n\n [buildout]\n ...\n parts =\n ...\n createzopecoverage\n\n [createzopecoverage]\n recipe = createzopecoverage\n\n(Note: you can name your part differently and the binary will be named after\nthat part).\n\nThis gives you a ``bin/createzopecoverage`` script that does the following:\n\n- Check whether bin/test exists. Safety feature.\n\n- Remove old coverage dir if it exists. This way you always have clean\n results.\n\n- Run bin/test with the ``--coverage=...`` option.\n\n- Use z3c.coverage to create the actual reports. By default into\n ``./coverage/reports``. If you start createzopecoverage with a command line\n argument (``bin/createzopecoverage /tmp/output``) it will put the reports into\n that directory.\n\n- Open the reports in your webbrowser *if you did not specify an output\n directory*. The assumption here is that if you run the script as-is, you\n just want to see the coverage reports. If you *do* specify an output\n directory, you're probably running it from within buildbot or so on the\n server and you want the output in some webserver-served directory. No use\n to open a browser on the server.\n\n\nDevelopment\n-----------\n\nThe source code lives at https://bitbucket.org/reinout/createzopecoverage, you\ncan also `report issues\n`_ there. Feel free\nto suggest improvements (and especially to make them yourself).\n\n\nOSX comment\n-----------\n\nz3c.coverage uses the \"enscript\" command for python code highlighting. The\nversion provided by OSX before 10.5.7 complains about an unkown ``--footer``\nargument passed by z3c.coverage. There are two possible solutions:\n\n- Update to 10.5.7. That update came out a few minutes after I wrote this\n original comment :-)\n\n- Install enscript from macports.\n\n- Add a script called \"enscript\" on your path that calls the original enscript\n minus the offending argument::\n\n #!/bin/sh\n shift\n /usr/bin/enscript -q --header -h --language=html --color -o - $9\n\n\nMore info\n---------\n\nTechnical details and a full doctest are in ``createzopecoverage/USAGE.txt``.\n\nMade by `Reinout van Rees `_.\n\nBuildout recipe install option made by Michael Howitz.\n\n\nTODO\n====\n\n- Await first bug reports :-)\n\n\nChangelog of createzopecoverage\n===============================\n\n\n1.5 (2011-04-27)\n----------------\n\n- Displaying the path of the created report for copy-pasting when the\n webbrowser does not open.\n\n\n1.4 (2010-12-28)\n----------------\n\n- Added fallback for windows: the test binary is ``bin\\test.exe`` instead of\n ``bin/test``. Fixes bug #1.\n\n\n1.3 (2010-09-29)\n----------------\n\n- Added possibility for installing createzopecoverage via a one-line buildout\n recipe, instead of via a zc.recipe.egg section. Bonus: you get to choose\n your script name (i.e. name of your part).\n\n\n1.2 (2010-09-20)\n----------------\n\n- Bugfix release: some files were not included because of a missing\n MANIFEST.in.\n\n\n1.1 (2010-09-20)\n----------------\n\n- Renamed it from tha.coverage to createzopecoverage (on request).\n\n- The source code now lives at\n https://bitbucket.org/reinout/createzopecoverage\n\n\n1.0 (2009-12-18)\n----------------\n\n- Added license, doc update. [reinout]\n\n\n0.1.1 (2009-05-13)\n------------------\n\n- Doc update: osx 10.5.7 fixes the enscript problem. [reinout]\n\n- Cleaned up some thaskel-added stuff that's not needed for a generic\n library. [reinout]\n\n\n0.1 (2009-05-13)\n----------------\n\n- Implemented first working version. [reinout]\n\n- Initial library skeleton created by thaskel. [reinout]", "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/createzopecoverage", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "createzopecoverage", "package_url": "https://pypi.org/project/createzopecoverage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/createzopecoverage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/createzopecoverage" }, "release_url": "https://pypi.org/project/createzopecoverage/1.5/", "requires_dist": null, "requires_python": null, "summary": "Provides single script to create coverage reports", "version": "1.5" }, "last_serial": 732294, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "7e20921b4dd07aa7e89e9e419d1d8d29", "sha256": "1b938fa63cafcb65017eba593492af1293417e1bde5308eb92c44efa796729f2" }, "downloads": -1, "filename": "createzopecoverage-1.1.tar.gz", "has_sig": false, "md5_digest": "7e20921b4dd07aa7e89e9e419d1d8d29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3574, "upload_time": "2010-09-20T10:10:37", "url": "https://files.pythonhosted.org/packages/46/ce/4a4c8cf7a14a87c9a4abfea0e1d1756ea3e507128465e49dd4f5bbefad19/createzopecoverage-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1ec4061d2a5317ba8c08af93d3c6544a", "sha256": "c804ab18aa3eedd5bb1603297c112cb1b4dba191f6b302c2dc698ae3ee2f0595" }, "downloads": -1, "filename": "createzopecoverage-1.2.tar.gz", "has_sig": false, "md5_digest": "1ec4061d2a5317ba8c08af93d3c6544a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5683, "upload_time": "2010-09-20T16:23:04", "url": "https://files.pythonhosted.org/packages/eb/9f/4ee75436a46e2e38177e5ad63cb76860318cd15df9a482017503bd6b61ff/createzopecoverage-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "561d286e5239f2ae25e5beece1236a94", "sha256": "7072d40845f194c9d06ac84b636019d25b83bfd6087fda145bda40e69212f498" }, "downloads": -1, "filename": "createzopecoverage-1.3.tar.gz", "has_sig": false, "md5_digest": "561d286e5239f2ae25e5beece1236a94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6847, "upload_time": "2010-09-29T16:27:17", "url": "https://files.pythonhosted.org/packages/52/bb/8180beb296910ba7fbd66cf80fd78ab54634739559f5b167e06fc72e6a42/createzopecoverage-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "68247a9746d0616b85d217ae0a64d4d7", "sha256": "ccfeb2273134e00a12b6e82d8dd0dacd7335d9a8e219b88cd5355ad4638e3edb" }, "downloads": -1, "filename": "createzopecoverage-1.4.tar.gz", "has_sig": false, "md5_digest": "68247a9746d0616b85d217ae0a64d4d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6953, "upload_time": "2010-12-28T14:53:18", "url": "https://files.pythonhosted.org/packages/01/a8/6cb3e0d840e3c0e54049b192c8ef4226efa314b9a164062b016ed07d1023/createzopecoverage-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "6a2fa3d9a6e8ee73927783ec732043ab", "sha256": "06c1f19bbc081e75f9b933b5a4aafd9ad7ca71ef7c35278ca81c4ca0911b0015" }, "downloads": -1, "filename": "createzopecoverage-1.5.tar.gz", "has_sig": false, "md5_digest": "6a2fa3d9a6e8ee73927783ec732043ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7102, "upload_time": "2011-04-27T10:03:55", "url": "https://files.pythonhosted.org/packages/d3/2b/4de9dfd6beeea9fdfaac3b6a6fd25e263a35a2f15a9d7c002fa888565381/createzopecoverage-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a2fa3d9a6e8ee73927783ec732043ab", "sha256": "06c1f19bbc081e75f9b933b5a4aafd9ad7ca71ef7c35278ca81c4ca0911b0015" }, "downloads": -1, "filename": "createzopecoverage-1.5.tar.gz", "has_sig": false, "md5_digest": "6a2fa3d9a6e8ee73927783ec732043ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7102, "upload_time": "2011-04-27T10:03:55", "url": "https://files.pythonhosted.org/packages/d3/2b/4de9dfd6beeea9fdfaac3b6a6fd25e263a35a2f15a9d7c002fa888565381/createzopecoverage-1.5.tar.gz" } ] }