Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Matthew Weier O'Phinney
-- till <[EMAIL PROTECTED]> wrote (on Tuesday, 09 December 2008, 02:50 PM +0100): > On Tue, Dec 9, 2008 at 2:24 PM, Matthew Weier O'Phinney > <[EMAIL PROTECTED]> wrote: > > -- till <[EMAIL PROTECTED]> wrote > > (on Tuesday, 09 December 2008, 12:49 PM +0100): > >> I know that for RHEL/CentOS, there

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 2:24 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- till <[EMAIL PROTECTED]> wrote > (on Tuesday, 09 December 2008, 12:49 PM +0100): >> I know that for RHEL/CentOS, there are unofficial repositories with an >> even more current version of PHP. > > Understood. How

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Matthew Weier O'Phinney
-- till <[EMAIL PROTECTED]> wrote (on Tuesday, 09 December 2008, 12:49 PM +0100): > On Tue, Dec 9, 2008 at 1:07 AM, Sebastian Hopfe <[EMAIL PROTECTED]> wrote: > > Hi till, > > > > i know that this function is added since a long time. This was only an > > example. > > But how i could write a PHPUnit

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 12:51 PM, Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> a) It's old -- released in August, 2007. > > Tell that to the IE 6 users :p =) Point well taken! But I'm also not a network administrator running Windows. ;-)

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > a) It's old -- released in August, 2007. Tell that to the IE 6 users :p ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 1:07 AM, Sebastian Hopfe <[EMAIL PROTECTED]> wrote: > Hi till, > > i know that this function is added since a long time. This was only an > example. > But how i could write a PHPUnit test - so that i get a CodeCoverage by 100% > and the test is solved complete? > > I mean - t

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Matthew Weier O'Phinney
m PHP version. > thanks for spending time in my question. > > Best regards > Sebastian > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von till > Gesendet: Montag, 8. Dezember 2008 23:41 > An: Sebastian Hopfe > Cc:

AW: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Sebastian Hopfe
@lists.zend.com Betreff: Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit On Mon, Dec 8, 2008 at 11:24 PM, Sebastian Hopfe <[EMAIL PROTECTED]> wrote: > Hi, > > > > i want to open a discussion about PHPUnit. First of all – I love PHPUnit – > but i see

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread till
On Mon, Dec 8, 2008 at 11:24 PM, Sebastian Hopfe <[EMAIL PROTECTED]> wrote: > Hi, > > > > i want to open a discussion about PHPUnit. First of all – I love PHPUnit – > but i see some problems by testing methodes which providing downwardly > compatible. > > > > The function „file_gets_content" is in

[fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Sebastian Hopfe
Hi, i want to open a discussion about PHPUnit. First of all - I love PHPUnit - but i see some problems by testing methodes which providing downwardly compatible. The function "file_gets_content" is in old php versions not available. We should check this with function_exists() - if these is