{ "info": { "author": "Andreas Pelme", "author_email": "andreas@pelme.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Testing" ], "description": "pytest-poo is a plugin for `pytest `_ that points out your\ncrappy tests with piles of poo.\n\nReally? Why?\n============\nI showed the --poo option at EuroPython 2013. A number of people thought I\nshould release it, so here it is.\n\nScreenshots\n==============\n\nThis is what the output usually looks like:\n\n.. image:: https://github.com/pelme/pytest-poo/raw/master/screenshots/normal.png\n :width: 722px\n :alt: Normal mode, without poo\n :align: center\n :target: https://github.com/pelme/pytest-poo/raw/master/screenshots/normal.png\n\n... when passing --poo, this is what is outputted instead:\n\n.. image:: https://github.com/pelme/pytest-poo/raw/master/screenshots/poo.png\n :width: 722px\n :alt: Poo mode!\n :align: center\n :target: https://github.com/pelme/pytest-poo/raw/master/screenshots/poo.png\n\n\nRequirements\n============\nA recent version of pytest is required (>= 2.3.4).\n\nQuick start\n===========\n1. ``pip install pytest-poo``\n2. Mark tests with the ``pytest.mark.poo`` marker.\n3. Run tests with the --poo option to enable pile of poo output.\n\nDocumentation\n==============\n\nMarking tests\n--------------------\nAdd the ``pytest.mark.poo`` marker to the tests that you consider crappy. The\nmarkers are standard py.test markers and can be used like this on a test\nfunction::\n\n import pytest\n\n @pytest.mark.poo\n def test_something():\n assert 0\n\n\nor for classes::\n\n import pytest\n\n class MyTests(object):\n pytestmark = [pytest.mark.poo]\n\n\n... or for entire modules::\n\n import pytest\n\n pytestmark = pytest.mark.poo\n\n\n def test_a():\n assert 0\n\n\n def test_b():\n assert 0\n\n\nShowing crappy tests during test run\n------------------------------------\n\nJust run py.test with the ``--poo`` option to enable the output. To always\nenable, add ``--poo`` to addopts in pytest.ini::\n\n [pytest]\n addopts = --poo", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pelme/pytest-poo", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pytest-poo", "package_url": "https://pypi.org/project/pytest-poo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-poo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/pelme/pytest-poo" }, "release_url": "https://pypi.org/project/pytest-poo/0.2/", "requires_dist": null, "requires_python": null, "summary": "Visualize your crappy tests", "version": "0.2" }, "last_serial": 815014, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7d9d19172369774c517826ec458bd053", "sha256": "28f956ef593a60b66c1bd7df23795a0edc15b0a0b0708079db7611c17fce15a2" }, "downloads": -1, "filename": "pytest-poo-0.1.tar.gz", "has_sig": false, "md5_digest": "7d9d19172369774c517826ec458bd053", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3429, "upload_time": "2013-07-14T09:54:45", "url": "https://files.pythonhosted.org/packages/f8/f2/c8cd42796c20c27c9cbd7b774ecd80dfb46b0d7fc18d4bbb0f26339e3f25/pytest-poo-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "581937ae2759d3d155c66aa214b043e5", "sha256": "6b28a6d8a539198c79ff27e6d13491390f2f34020a81c950caa8b596c9a8147d" }, "downloads": -1, "filename": "pytest-poo-0.2.tar.gz", "has_sig": false, "md5_digest": "581937ae2759d3d155c66aa214b043e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3645, "upload_time": "2013-07-14T10:28:17", "url": "https://files.pythonhosted.org/packages/d7/55/b56a6429bf0b6cfc88c2c756db370238892172dad1529a9396703ba37300/pytest-poo-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "581937ae2759d3d155c66aa214b043e5", "sha256": "6b28a6d8a539198c79ff27e6d13491390f2f34020a81c950caa8b596c9a8147d" }, "downloads": -1, "filename": "pytest-poo-0.2.tar.gz", "has_sig": false, "md5_digest": "581937ae2759d3d155c66aa214b043e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3645, "upload_time": "2013-07-14T10:28:17", "url": "https://files.pythonhosted.org/packages/d7/55/b56a6429bf0b6cfc88c2c756db370238892172dad1529a9396703ba37300/pytest-poo-0.2.tar.gz" } ] }