On Wed, Oct 13, 2010 at 01:50:39PM +0200, Jan-Wijbrand Kolman wrote:
On 10/13/10 13:42 , Jan-Wijbrand Kolman wrote:
Good idea. This would improve the testing situation. That would definitely help the Grok Toolkit, as it could then run the "normal" tests in the context of the toolkit, without pulling in the dependencies of the browser tests.
Ah, no it wouldn't help there, as the testrunner would find the tests in the browser subpackage and it would try to run them regardless.
You could always conditionally disable them: in each test*.py file have def test_suite(): suite = unittest.TestSuite() if some condition: suite.addTest(unittest.makeSuite(...)) suite.addTest(doctest.DocTestSuite(...)) suite.addTest(doctest.DocFileSuite(...)) return suite Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development