Re: How do you think I should fix PHP_CompatInfo unit tests
| From: | Daniel O'Connor | Date: | Wed, 17 Dec 2008 22:15:13 +0000 |
| Subject: | Re: How do you think I should fix PHP_CompatInfo unit tests | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-5057@lists.php.net to get a copy of this message | ||
Make it check for an expected PHP version and skip the test if it isn't
avail.
if PHP < 5.2.8
$this->markTestSkipped("Unknown results for old PHP");
... now I know that seems a bit silly as PHP_CompatInfo is designed to avoid
doing this; but at least it accurately describes under what conditions you
expect the test to pass.
On Thu, Dec 18, 2008 at 8:21 AM, Laurent Laville
<pear@laurent-laville.org>wrote:
> Hello PEAR QA team,
>
> With my post on PEAR general mailing list, about tokenizer "change", I've a
> question.
>
> - Should I remove the testTokenizerWithEmptyFile() of
> PHP_CompatInfo_TestSuite_Standard
>
> - Or should I apply a new patch each time PHP tokenizer constants values
> will change
>
> Laurent
>
> --
> PEAR QA Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>