[wp-trac] [WordPress Trac] #41916: Exit early when test suite's install.php script cannot connect to the database

WordPress Trac noreply at wordpress.org
Mon Sep 18 20:29:26 UTC 2017


#41916: Exit early when test suite's install.php script cannot connect to the
database
------------------------------+-----------------------
 Reporter:  danielbachhuber   |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  4.9
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
  Focuses:                    |
------------------------------+-----------------------
 If `tests/phpunit/includes/install.php` cannot connect to the database, it
 currently dumps HTML to `STDOUT`.

 For scripts driving the test suite, it would be more helpful to exit early
 with return code 1 to designate the failure.

 Related https://github.com/WordPress/phpunit-test-reporter/issues/43

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


More information about the wp-trac mailing list