This is an interesting use case, one that I haven't really considered.
How would you want it to work? Ideas that come to mind:
(in setup.cfg)
[nose_plugins]
name = package.module.Plugin
...
or
[nosetests]
plugin=package.module.Plugin,package.module.Plugin2
and/or
nosetests --plugin=package.module.Plugin --plugin=package.module.Plugin2 ...
nose3 (for python3 which has no setuptools) needs something like this
as well. Whatever method we come up with here ought to work there too,
if it's going to be viable.
JP
Agreed. Ticket is filed, but given the extent of the changes required,
I wouldn't expect this to land before 1.0 -- probably 6 months from
now.
http://code.google.com/p/python-nose/issues/detail?id=271
If that timeframe chafes anyone, I suggest cloning unstable
(http://bitbucket.org/jpellerin/nose) and getting to work. I'll
happily provide a more detailed description of how option parsing has
to change to support this in exchange for patches. :)
Until then, a custom runner script is the only way to do this, I'm afraid.
JP