Re: Another ext/tidy test

From: Date: Fri, 28 Aug 2009 08:48:24 +0000
Subject: Re: Another ext/tidy test
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65315@lists.php.net to get a copy of this message
Hi Christian, 2009/8/27 Christian Wenz <chw@hauser-wenz.de>: > Hi all, > > here's another one: > > http://wenz.pastebin.com/m5c09b707  (should probably be > 031.phpt). > > It tests four different but related libtidy wrappers at once; I thought that > that would not justify four individual tests. I would split them in 4 individual tests, I know it is somewhat the same code covered, but from a user perspective, it is 4 different functions and it might be easier to debug if one function suddenly fails. IMHO, tests should be made first as "unit testing" and as a result, will brings code coverage, not the opposite, but please, treat this only as a personal point of view. Regards, -- Patrick Allaert --- http://code.google.com/p/peclapm/ - Alternative PHP Monitor

« previous php.qa (#65315) next »