From: Andrew T. (nilspace) <nil...@us...> - 2005-12-05 16:50:29
|
Well, you could add a new project in the CVS repository - fofredux-test or something similar. Anyone could check out the fofredux project, and devs could subsequently checkout fofredux-test: cvs -d:ext:nil...@cv...:/cvsroot/fofredux co fofredux cvs -d:ext:nil...@cv...:/cvsroot/fofredux co fofredux-test On 12/5/05, Kevin <ke...@dr...> wrote: > Andrew Turner (nilspace) wrote: > > >Only concerned that we haven't done it yet and more often. ;) > > > >I think this is an excellent idea. It had crossed my mind, but got > >pushed back. Thanks for putting this together. I assume we can write > >tests for all the major functionality: adding, removing, viewing > >feeds, generated OPML, generated RSS (future feature)? > > > > > FoFr is a small project, but it can still benefit from unit testing. It > makes heavy use of functions to organize the backend code.(see also: "a > good thing") This type of code organization makes it easier to test. > > I figured each fof function will have it's own test case class. I've > already created one for fof_content_sanitize(). > > Question: Should the tests be included in code releases? I don't see > the benefit in that. I figure they will just live in the CVS repository > for developers to use. > > >I haven't seen SimpleTest before, I'll make sure to check it out. > > > > > The two choices are SimpleTest and PHPUnit. I've only ever used > SimpleTest. I gave the list a heads up in case someone wanted to pipe > up with compelling reasons to use PHPUnit instead. If no one has > objections, I'll commit what I have. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA Photos - http://flickr.com/photos/ajturner Travel - http://highearthorbit.com/projects/location/ |