[wp-trac] [WordPress Trac] #39237: PHPunint coverage reports fail if the is out to the stdout or header

WordPress Trac noreply at wordpress.org
Sun Dec 11 18:03:16 UTC 2016


#39237: PHPunint coverage reports fail if the is out to the stdout or header
------------------------------+-----------------------------
 Reporter:  pbearne           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 trying to get the coverage report to work :-)

 https://phpunit.de/manual/current/en/textui.html

 and their error due to the ech statamnts in the phpunit install.ph  anad
 bootstap.php

 i.e.
 {{{#!php
 <?php
 echo "Installing..." . PHP_EOL;
 }}}


 and due to the header value been set in wp_redirect() in pluggable.php why
 this is running for unittest ???

 it looks like we need to test for if a coverage report is been created and
 not echo to the console

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


More information about the wp-trac mailing list