nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

When using verbose mode (-v), display test names in nosetest's input format for easy copy-paste #1024

Closed HaraldNordgren closed 6 years ago

HaraldNordgren commented 7 years ago

So instead of

testWriteDoesNotStripAnsi (colorama.tests.ansitowin32_test.AnsiToWin32Test) ... ok

show something like

colorama.tests.ansitowin32_test:AnsiToWin32Test.testWriteDoesNotStripAnsi ... ok

The second form corresponds to the input format to nosetests when running single tests or classes.

chaoflow commented 7 years ago

I also like that in your pull request you kept the plain test method name at the front!

HaraldNordgren commented 6 years ago

The project us unmaintaned and the tests are failing on origin/master. Closing the issue.