[Zope-dev] how do I only run test from one doctest .txt file?

Wichert Akkerman wichert at wiggy.net
Thu Sep 10 05:40:48 EDT 2009


On 9/10/09 11:40 , Chris Withers wrote:
> Hi All,
>
> I'm doing some development of zc.buildout, and I'm down to a couple of
> test failures. The test suite takes quite a long time to run.
>
> Using zc.recipe.testrunner, how can I limt the run to just one file?
>
> eg:
> File "...src/zc/buildout/bootstrap.txt", line 23, in bootstrap.txt
>
> How do I just run the tests in bootstrap.txt?

With Zope2 you can do this: bin/instance test -t bootstrap.txt
Perhaps -t works here as well?

Wichert.


More information about the Zope-Dev mailing list