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

WordPress Trac noreply at wordpress.org
Sun Jan 29 18:29:13 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:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 There are several reasons why someone might want to define the location of
 `wp-tests-config.php` themselves instead of
 `tests/phpunit/includes/bootstrap.php` only checking in two distinct
 locations. Personally, I would like to define the location outside the
 project root so I can check the file into my project repositories and keep
 the develop core as a clean dependency directory. I suggest that the
 bootstrap check for a constant in the `phpunit.xml.dist` file, since this
 file can be copied and modified outside the project to be used by phpunit.

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


More information about the wp-trac mailing list