nose-devs/nose — Issue #17: Support 'test_suite' function convention from Zope
Author: jpellerin
Created: 2011-12-14 15:55:09+00:00
State: open

Many Zope developers are used to the 'test_suite function' convention from
Zope, so you can find several packages in PyPI that have all sorts of
styles of tests from unittest to doctest and use the test_suite convention.

An example here:

http://svn.plone.org/svn/plone/plone.i18n/trunk/plone/i18n/normalizer/tests
/test_normalizer.py

In cases like this, nose should by default ignore anything *but*
the 'test_suite' function, and call the test_suite function to get a
unittest.TestSuite instance back with the tests for that module.

If time permits I will prototype this as a nose plugin, but would be a
nice-to-have feature, specially if we could use the 'nose.collector'
setuptools test_suite shortcut to run tests on that package for example.

Google Code Info:
Issue #: 102
Author: sidnei.d...@gmail.com
Created On: 2007-09-24T21:19:10.000Z
Closed On: