{ "info": { "author": "Paul Butcher", "author_email": "paul.butcher@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Testing" ], "description": "nose-long-descriptions\n======================\n\n.. image:: https://img.shields.io/pypi/v/nose-enhanced-descriptions.svg\n :target: https://pypi.python.org/pypi/nose-enhanced-descriptions\n :alt: Latest PyPI version\n\n.. image:: https://travis-ci.org/paul-butcher/nose_enhanced_descriptions.png\n :target: https://travis-ci.org/paul-butcher/nose_enhanced_descriptions\n :alt: Latest Travis CI build status\n\nA nose plugin to improve nose test description output. This plugin deals with two problems in the default verbose nose output. Finding out which test failed, and selectively rerunning tests.\n\nBy default, running nosetests verbosely will describe each test with one of\n\n* An id derived from the name and module of the test\n* The first line of the docstring\n\nthus::\n\n I have a docstring ... ok\n test_with_blank_docstring (meta_tests.MetaTest) ... ok\n I have a docstring ... ok\n test_without_docstring (meta_tests.MetaTest) ... ok\n\nIf you have multiple tests in different suites with the same or similar docstrings, and one of them fails, it can be difficult to find out which is which.\n\nThe description derived from the name of the test is also frustrating. The format of a command line argument to run a specific test in nose is ``module:TestClass.testmethod``, yet the format of the description is ``testmethod (module.TestClass)``, meaning that the user must construct this argument by copying the various sections into the right place and replacing one of the dots with a colon. \n\nUsage\n-----\n``nosetests --verbose --with-enhanced-descriptions``\n::\n\n meta_tests:MetaTest.test_docstring_leading_line\n \t(The first line was empty, but this is the line to use.) ... ok\n meta_tests:MetaTest.test_with_blank_docstring ... ok\n meta_tests:MetaTest.test_with_docstring\n \t(I have a docstring) ... ok\n meta_tests:MetaTest.test_without_docstring ... ok\n\nThe reader can see both the identifier (so that they know exactly which test fails), and the documentation (so that they know what it was supposed to do). The test identifiers can alo now be copied and run, e.g. ``nosetests meta_tests:MetaTest.test_without_docstring``.\n\nInstallation\n------------\n\n``pip install nose_enhanced_descriptions``\n\n\nLicence\n-------\n\nMIT", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paul-butcher/nose_enhanced_descriptions", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "nose-enhanced-descriptions", "package_url": "https://pypi.org/project/nose-enhanced-descriptions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nose-enhanced-descriptions/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/paul-butcher/nose_enhanced_descriptions" }, "release_url": "https://pypi.org/project/nose-enhanced-descriptions/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "Improves nose test description output", "version": "0.1.5" }, "last_serial": 2113875, "releases": { "0.1.4": [], "0.1.5": [ { "comment_text": "", "digests": { "md5": "d8a2193380c4de7a798b4ba0c5bb7674", "sha256": "df5838f99be630c2972f9d800a4fbde9428dfc3aba4dd7c856367d697e91c3cc" }, "downloads": -1, "filename": "nose-enhanced-descriptions-0.1.5.tar.gz", "has_sig": false, "md5_digest": "d8a2193380c4de7a798b4ba0c5bb7674", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3098, "upload_time": "2016-05-13T08:50:36", "url": "https://files.pythonhosted.org/packages/2d/5d/e41fd4067b2f5e7d285593045c0d36f83a401918e2f29f93f607462dc453/nose-enhanced-descriptions-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8a2193380c4de7a798b4ba0c5bb7674", "sha256": "df5838f99be630c2972f9d800a4fbde9428dfc3aba4dd7c856367d697e91c3cc" }, "downloads": -1, "filename": "nose-enhanced-descriptions-0.1.5.tar.gz", "has_sig": false, "md5_digest": "d8a2193380c4de7a798b4ba0c5bb7674", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3098, "upload_time": "2016-05-13T08:50:36", "url": "https://files.pythonhosted.org/packages/2d/5d/e41fd4067b2f5e7d285593045c0d36f83a401918e2f29f93f607462dc453/nose-enhanced-descriptions-0.1.5.tar.gz" } ] }