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 `example.py`::

.. code-block:: python

class MyTestCase(TestCase):

def test_without_docstring(self):
pass

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

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

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

To::

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

Installation
------------

`pip install nose-description-fixer-plugin`

Project details


Release history Release notifications

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
nose-descriptionfixer-0.0.1.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Feb 18, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page