how do I only run test from one doctest .txt file?
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? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
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.
Wichert Akkerman wrote:
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?
Indeed it does, thanks for the quick reply! :-) (if anyone's got a zope.testing checkout handy, it might be worth documenting this in the help for the -t option...) Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Wichert Akkerman