This is a simple Nose plugin that forces nosetests to print the full test name in verbose mode, rather than just the docstring.
For example, given the test file example.py:
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:
This is my docstring ... ok test_without_docstring (mymodule.MyTestCase) ... ok
To:
test_with_docstring (mymodule.MyTestCase) ... ok test_without_docstring (mymodule.MyTestCase) ... ok
Install with pip install nose-description-fixer-plugin.
Metadata
Release files for nose-descriptionfixer 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nose-descriptionfixer-0.0.4.tar.gz | 2.9 kB | Details |
Release files / nose-descriptionfixer-0.0.4.tar.gz
| Download URL | nose-descriptionfixer-0.0.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c74bd38f6fcf158b0681ea4ccb6b4f64c09867d039d5ef9a8c1856395dbac7c
|
|
BLAKE2b-256 checksum How to use checksums |
6413203c9d0b3eff60ae42d0e3a65a9e2b08af7266c6557108d93b8b18f90f5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |