2011/9/1 Johannes Schlüter <johan...@schlueters.de>:
> On Thu, 2011-09-01 at 17:53 +0400, Alexey Shein wrote:
>> Great addition.
>> While you're at it, could you also add an option to print a list of
>> skipped tests (maybe above XFAIL section), that's also currently can't
>> be done with other options in run-tests.php.
>> It could also be useful because some skipped tests maybe skipped for
>> the wrong reason and be actually failed. It's also a great spot to
>> notice obsolete tests that need to be removed from the suite and make
>> running all process faster.
>
> Let's open a can of worms: When designing this I'd like to keep in mind
> a feature I had on the list for the rewrite of run-tests by Zoe (anybody
> knows the status of that?) which is skipping entire directories with a
> single skipif.
> Benefit there is that for instance we don't have to create two PHP
> process for each and every test and don't have to try connecting to
> databases two times for each test (during skipif and the actual test).

Create a magical "run-me-first" file which run-tests will execute
first, and if it fails it will skip all the tests in that directory..
should be relatively easy to implement.

Being able to run the tests for two directories in parallel however..
that would be awesome.

-Hannes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to