← Back to team overview

launchpad-dev team mailing list archive

Re: Model objects and doc tests

 

On Monday 22 February 2010 05:06:55 Martin Pool wrote:
> On 19 February 2010 22:47, Julian Edwards <julian.edwards@xxxxxxxxxxxxx> 
wrote:
> > Should all model objects should have doc tests?  (ie. testable
> > documentation)
> >
> > Discuss.
> 
> imo you are either writing doc tests or you're writing testable
> documentation; they are not the same thing at all and it's hard to
> make one document work for both.

I have exactly the opposite opinion :)

I'd like to see an example of why you think it's hard though?

J



Follow ups

References