{ "info": { "author": "The Health Agency", "author_email": "techniek@thehealthagency.com", "bugtrack_url": null, "classifiers": [], "description": "tha.coverage\n============\n\ntha.coverage provides a ``bin/createcoverage`` script that servers as a\none-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\n\nInstallation and use\n--------------------\n\nTo install, add ``tha.coverage`` 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 tha.coverage\n\nThis gives you a ``bin/createcoverage`` 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 createcoverage with a command line\n argument (``bin/createcoverage /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\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 src/tha/coverage/USAGE.txt .\n\nMade by `Reinout van Rees `_ at `The Health Agency\n`_.\n\n\nTODO\n====\n\n- Await first bug reports :-)\n\n\nChangelog of tha.coverage\n=========================\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://www.thehealthagency.com", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "tha.coverage", "package_url": "https://pypi.org/project/tha.coverage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tha.coverage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.thehealthagency.com" }, "release_url": "https://pypi.org/project/tha.coverage/1.0/", "requires_dist": null, "requires_python": null, "summary": "Provides single script to create coverage reports", "version": "1.0" }, "last_serial": 800539, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8386531778468cfe3f8753766141befd", "sha256": "f18cfa5d9b1f2780abd56c8527c4690887c63ab16501c889ce4d17f4bf643274" }, "downloads": -1, "filename": "tha.coverage-0.1.tar.gz", "has_sig": false, "md5_digest": "8386531778468cfe3f8753766141befd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6968, "upload_time": "2009-05-13T12:48:34", "url": "https://files.pythonhosted.org/packages/4e/81/1230910170b84b1b2736becc8fe4f341efee9af975697d0af7aaab2e6ec0/tha.coverage-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4e5596eaefc57bfd61e0d026bf56cd7c", "sha256": "5d9bc5c2cef31695a03186b2b2a592395db396c220e3304ead765fbb39eff873" }, "downloads": -1, "filename": "tha.coverage-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4e5596eaefc57bfd61e0d026bf56cd7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6184, "upload_time": "2009-05-13T13:23:29", "url": "https://files.pythonhosted.org/packages/ae/28/e0fdf8ff706885dedb8a5edd718575bbe2cc593deaeadb7d5773279cc909/tha.coverage-0.1.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "032475445f37dc50e4987e990f59b82c", "sha256": "894fee289ba984eb9e030c5f23a75e1148e105dc0fab6716c156c89916f5471e" }, "downloads": -1, "filename": "tha.coverage-1.0.tar.gz", "has_sig": false, "md5_digest": "032475445f37dc50e4987e990f59b82c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6891, "upload_time": "2009-12-18T17:17:02", "url": "https://files.pythonhosted.org/packages/66/26/9673e504d7209a78ad3550914d1ecca9c0b3065d646fde4c811afa6b4739/tha.coverage-1.0.tar.gz" } ], "1.0.1-renamed-to-createcoverage": [ { "comment_text": "", "digests": { "md5": "aa1b35cd9cab4371cd8cd3959ea40fbc", "sha256": "5d2d41677626cef8a484f76eab6a84d75eb6b3d978cfe219f99fb398cb7dc102" }, "downloads": -1, "filename": "tha.coverage-1.0.1-renamed-to-createcoverage.tar.gz", "has_sig": false, "md5_digest": "aa1b35cd9cab4371cd8cd3959ea40fbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2440, "upload_time": "2010-09-20T10:28:24", "url": "https://files.pythonhosted.org/packages/74/a7/bdf4bf943c8b1715cec07126b9aee3f3af04101ac6653391716288a464ed/tha.coverage-1.0.1-renamed-to-createcoverage.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "032475445f37dc50e4987e990f59b82c", "sha256": "894fee289ba984eb9e030c5f23a75e1148e105dc0fab6716c156c89916f5471e" }, "downloads": -1, "filename": "tha.coverage-1.0.tar.gz", "has_sig": false, "md5_digest": "032475445f37dc50e4987e990f59b82c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6891, "upload_time": "2009-12-18T17:17:02", "url": "https://files.pythonhosted.org/packages/66/26/9673e504d7209a78ad3550914d1ecca9c0b3065d646fde4c811afa6b4739/tha.coverage-1.0.tar.gz" } ] }