[Owncloud] coding errors
Thomas Tanghus
thomas at tanghus.net
Mon Jan 30 09:25:53 UTC 2012
On Monday 30 January 2012 10:07 Evert Pot wrote:
> PHPUnit is very popular, and there's definitely not another compilation step
> needed to run:
>
> https://github.com/sebastianbergmann/phpunit/
>
> Besides all that, I too am a little surprised owncloud doesn't have *any*
> unittests. Wouldn't be a bad thing to explore this imho, just from glancing
> over the source I've noted some bad anti-patterns, and having good and
> testable code can prevent you guys from a maintenance nightmare a little
> further down the road.
>
> The initial investment will be a little high, but I guarantee it will pay
> off.
Shamefully I have nada experience with unittesting, but I found this article
a couple of weeks ago:
http://www.sitepoint.com/tutorial-introduction-to-unit-testing-in-php-with-phpunit/
--
Med venlig hilsen / Best Regards
Thomas Tanghus
More information about the Owncloud
mailing list