Re: [cowiki-dev] Unit Testing

"Daniel T. Gorski" <[email protected]>
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <20050430003938.GP18983@bantha>
On 29 Apr 17:28, PAUL HANCHETT wrote:

> Automated tests take a bit of time to develop, but the payback to the 
> project is tremendous.

+1

I am pro unit tests, the text you wrote should also find its place somewhere
on cowiki.org.

There is only one "but" :) But: as of the language structure of loose
variable typing it will get difficult to test PHP/coWiki scripts -
especially if there are methods that have variables passed prefixedwith an
"$m", which stands for "mixed": public function method($mFoo) .. or return
such "mixed" variables (string or array e.g).

Anyway unit testing is good, but you'll swear in many cases in current coWiki
:)

regards dtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.