Re: com web/qa: Added a note on how to run specific tests, using make testTESTS=X and the name for make on Windows: running-tests.php
| From: | Christoph M. Becker | Date: | Wed, 17 Aug 2016 19:56:16 +0000 |
| Subject: | Re: com web/qa: Added a note on how to run specific tests, using make testTESTS=X and the name for make on Windows: running-tests.php | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-67788@lists.php.net to get a copy of this message | ||
On 17.08.2016 at 18:48, Kalle Sommer Nielsen wrote:
> Log:
> Added a note on how to run specific tests, using make test TESTS=X and the name for make on
> Windows
Thanks, Kalle!
> + <p>
> + Specific tests can also be executed, like running tests for a certain extension. To do
> + this you can do like so (for example the standard library):
> + <code>make test TESTS=ext/standard</code>. Where
> <code>TESTS=</code> points to a
> + directory containing <code>.phpt</code> files.
> + </p>
Perhaps it should be added that even a single PHPT can be specified.
And it might be also nice to add how to pass run-tests.php parameters,
e.g. `make test TESTS="-m ext/gd/tests".
I would commit that myself, but I don't have karma for web/qa.
--
Christoph M. Becker