Re: Mysqli support - test or complain? [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-12-12 at 10:47 +0100, Per Jessen wrote:
> Robert Cummings wrote:
> 
> >> I can't remember what sort of environment the OP was in, but if any
> >> sort of organised testing is done, the use of two different APIs will
> >> just about double the test-effort.  Which is why I still think the
> >> best option is to mandate _one_ of the APIs and choose your hoster
> >> accordingly.
> > 
> > Well if you write unit tests, having the unit tests applied to one or
> > the other is the same amount of work since it just requires a switch
> > to change between mysql and mysqli.
> 
> Regardless of how you do it, it's twice the amount of work to run a test
> twice.

No, it's twice the amount of time to run the test a second time. But if
it's a unit test it's time you can be doing something else... or maybe
when you install PHP from source you sit there and watch the unit tests
run at the end? I go and do something else in another window. The whole
point of unit tests is to automate testing things so that there's "less"
work to do.

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux