Re: New run-tests.php feature
| From: | Ferenc Kovacs | Date: | Thu, 01 Sep 2011 14:36:32 +0000 |
| Subject: | Re: New run-tests.php feature | ||
| References: | 1 2 3 4 5 | Groups: | php.internals php.qa |
| Request: | Send a blank email to internals+get-55062@lists.php.net to get a copy of this message | ||
2011/9/1 Hannes Magnusson <bjori@php.net>:
> 2011/9/1 Johannes Schlüter <johannes@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
>
Hi guys, I think it would be useful to add this to the issue tracker,
and if nobody else, I will look into this.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu