[Zope-dev] Re: Proposal: Sanitize HelpSys & API Reference, was Re: Reasons for the current API reference docs implementation?

Stephan Richter stephan.richter at tufts.edu
Mon Apr 5 12:40:35 EDT 2004


On Monday 05 April 2004 11:00, Paul Winkler wrote:
> > - If we create examples that they be runnable doctests, which are
> > executed by test.py
> >
> > The latter may mean we need a better integration test framework, I don't
> > know. I think we'd need to try out a few and see. I can certainly help
> > here.
>
> That would be much appreciated. I don't have a clue how to get
> the preconditions set up for doctests.

See  zope.testing.docunit (Zope 3). Jim has already written TestSuite class 
for doc tests to which you can pass a setUp and tearDown function.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope-Dev mailing list