Re: New run-tests code

From: Date: Wed, 09 Sep 2009 11:14:54 +0000
Subject: Re: New run-tests code
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65355@lists.php.net to get a copy of this message
hi Derick, On Wed, Sep 9, 2009 at 12:04 PM, Derick Rethans<derick@php.net> wrote: > Yes, I do. We picked the original behavior so that we can make our tests > work in every environment. It provides a better spread of code and > settings in the wild. We did not do it by design. There are tests (less every day) that are still dependent on the system php.ini, but they should be fixed instead (splited if necessary). The concept of unit tests is not to write generic tests but to test each single unique cases we can figure out, different ini settings are different cases. It also makes testing and debugging much easier, and it helps to actually analyze feedbacks as well without having to ask ten times if there are no system php.ini being loaded. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.qa (#65355) next »