Re: about bringing "doc tests" to PEAR

From: Date: Wed, 23 Jan 2008 17:47:39 +0000
Subject: Re: about bringing "doc tests" to PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48984@lists.php.net to get a copy of this message
Hey David; On Jan 23, 2008, at 9:52 AM, David Jean Louis wrote:
Just wanted to share some thought: I am a big fan of the doctest python module (1) and really miss it when I code in PHP. I've been using it for years and it makes unit testing very easy, *quick* and fun, those of you who know python will certainly agree with me on this.
Not to short circuit this, but there's already a proof in PHPT for doctest style tests using the traditional <code> examples that are already most inline API docs. PHPT it slated to become part of PEAR2 once that's in place. It'll be roughly functional by the middle of March as there's an article appearing in php|a that outlines its behavior and usage... :-) If you're interested in helping out, I'd be more than happy to have the help. -Travis

« previous php.pear.dev (#48984) next »