[wp-trac] [WordPress Trac] #50267: Getting code coverage from phpunit?

WordPress Trac noreply at wordpress.org
Sun Aug 23 17:24:08 UTC 2020


#50267: Getting code coverage from phpunit?
------------------------------+-----------------------------
 Reporter:  mmarco9           |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:  5.1
 Severity:  minor             |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48848" 48848]:
 {{{
 #!CommitTicketReference repository="" revision="48848"
 Tests: Correct a number of malformed `@covers` tags.

 As per the documentation of the `@covers` tag, global functions being
 covered should be prefixed with `::`. Also, the `()` after the function
 name is redundant.

 Follow-up to [39918].

 Props jrf.
 See #50267.
 }}}

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


More information about the wp-trac mailing list