[wp-trac] [WordPress Trac] #39734: Add ability to define file path of "wp-tests-config.php"

WordPress Trac noreply at wordpress.org
Mon Mar 13 17:24:38 UTC 2017


#39734: Add ability to define file path of "wp-tests-config.php"
------------------------------+------------------------------
 Reporter:  clarinetlord      |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------
Changes (by clarinetlord):

 * keywords:  needs-patch => has-patch


Comment:

 Thanks @johnbillion, I think a PHP constant is the best option I can see
 here. There may be a way to add custom XML attributes to the `phpunit.xml`
 file, but it's probably more trouble than it's worth. As a constant,
 there's also the option to define it other places besides `phpunit.xml`.
 Here's a simple patch to `bootstrap.php` to add this feature.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39734#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list