[TIP] asking nose to use a different TestSuite class

Leah Klearman lklrmn at gmail.com
Wed Oct 30 12:34:47 PDT 2013


I've mostly been able to make my new nose plugin work, but it is disabling
the built-in capture and logcapture plugins, and I can't find any reference
to how to make plugins not stomp on one another.

Code is at https://gist.github.com/klrmn/7238776

Thanks!
-Leah


On Sun, Oct 27, 2013 at 2:39 PM, Leah Klearman <lklrmn at gmail.com> wrote:

> I would like to use nose with testresources, which
> provides OptimisingTestSuite that orders tests in a particular way.
>
> https://github.com/nose-devs/nose/blob/master/nose/core.py#L309(nose.core.collector()) says "TestSuite replacement entry point. Use
> anywhere you might use a unittest.TestSuite.", but I have been thus-far
> unable to suss out how to replace nose.core.collector() at a time it will
> actually get used.
>
> Can anyone provide me with an example?
>
> Thanks,
> -Leah
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20131030/06d6f5bb/attachment.htm>


More information about the testing-in-python mailing list