Skip to main content

A Nose plugin to fix the way tests are described when the verbose flag (-v) is used

Project description

This is a simple Nose plugin that forces nosetests to print the full test name, rather than the docstring.

For example, given the test file ``::

.. code-block:: python

class MyTestCase(TestCase):

def test_without_docstring(self):

def test_with_docstring(self):
"""This is my docstring"""

This plugin changes the output of `nosetests -v` from::

test_without_docstring (mymodule.MyTestCase) ... ok
This is my docstring ... ok


test_without_docstring (mymodule.MyTestCase) ... ok
test_with_docstring (mymodule.MyTestCase) ... ok


`pip install nose-description-fixer-plugin`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nose-descriptionfixer-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page