Fwd: [PHP-QA] New run-tests code

From: Date: Wed, 09 Sep 2009 08:55:11 +0000
Subject: Fwd: [PHP-QA] New run-tests code
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65345@lists.php.net to get a copy of this message
And now also to the list instead of just Zoe ;) ---------- Forwarded message ---------- From: Stefan Koopmanschap <stefan.koopmanschap@gmail.com> Date: Wed, Sep 9, 2009 at 10:54 AM Subject: Re: [PHP-QA] New run-tests code To: zoe <zoe.slattery@googlemail.com> Hi, That sounds to me like the behaviour I was expecting in the first place, I was not aware that it was not working like this in the first place. Yes, this sounds definitely recommended. It will, however, require lots of new tests to be written for all kinds of different ini setting combinations. The advantage of the old way of doing things is that everyone runs their tests on their own custom configuration, meaning you get lots of different results back on tests. If you make it to behave the same on all different environments, then this will mean that we'll have to manually test for different ini combinations for all functionality that might be affected by those settings. Not just the directly related functionality, but also the more obscure ones. Even though many more tests are necessary, I think this could be a very good idea, since the scope and environment of a single test is much more clear. So it is actually more clear what you're testing. My 2 cents, Stefan On Wed, Sep 9, 2009 at 10:25 AM, zoe<zoe.slattery@googlemail.com> wrote: > Hi all > > Stefan, Georg and I have been discussing making a small change in the new > run-tests.php code that would make the implementation different from the > current run-tests.php. > > At the moment when you use run-tests.php the test results can be affected by > your php.ini file. This causes endless confusion for people that don't > realise that they need to use the -n option to ignore their php.ini. We'd > like to make ignoring the user's php.ini file the default behaviour in the > new version. Does anyone see a problem with this? > > I think ini settings can always be controlled using the test's --INI-- > section, however, if there is a requirement to be able to use a specific > php.ini, we could add an additional option to the new run-tests.php code to > allow users to specify the use of a specific php.ini file. > > Thoughts? > > Zoe > > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Stefan Koopmanschap http://www.stefankoopmanschap.nl/ http://www.leftontheweb.com/ -- Stefan Koopmanschap http://www.stefankoopmanschap.nl/ http://www.leftontheweb.com/

« previous php.qa (#65345) next »