Re: CVS update: /cowiki/misc/development/tests/

"Daniel T. Gorski" <[email protected]> Mon, 9 May 2005 21:52:29 +0200
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <20050509195229.GS16434@bantha>
On 09 May 11:43, PAUL HANCHETT wrote:

> 
> >>I think this should be done so it is in dependent on Daniel's include.path
> >>file.

> >This is not _my_ include.path file, it's coWikis include.path settings.
> >These are set properly if you once run and finish the coWiki setup (this
> >not quite true, as I found an error recently :)

> My point is that unit testing should not be dependent on coWiki
> configuration files (that are not the subject of the test).

I basically agree. But the tests _could_ (parameter dependent?) use the
existing paths - for convenience? This would save setting them twice and
decrease the chance of error e.g. if someone (like me) has different
installations with different paths and working parallel on two installations
for error checking.

I have changed code many times and wondering why it did not work: I was in
the wrong directory :) But anyway it could be for convenience ...

regards dtg