Re: Log2 Update
| From: | Greg Beaver | Date: | Sat, 26 Sep 2009 16:49:09 +0000 |
| Subject: | Re: Log2 Update | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-52897@lists.php.net to get a copy of this message | ||
Brett Bieber wrote:
> Hey Brandon,
>
> On Sat, Sep 26, 2009 at 7:52 AM, Brandon Savage
> <brandon@brandonsavage.net> wrote:
>> As a side note, is there some sort of secret to executing the regression
>> tests written in the .phpt format?
>
> pear run-tests -rq tests
>
> or, check out the new tests+coverage in pyrus, this can save a lot of
> time as it only runs the tests necessary while developing
>
> pyrus run-phpt -m
>
> The pyrus info is documented here:
> http://pear.php.net/manual/en/pyrus.commands.runphpt.php
Also note that unlike PHPUnit's code coverage, the -m option to pyrus's
run-phpt will only execute tests that are modified, or tests affected by
code that was modified (by comparing md5sums). This is of course only
useful for very large test suites, but boy is it useful for those large
test suites.
Greg