WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39265, comment 7


Ignore:
Timestamp:
08/23/2020 02:01:27 PM (9 months ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39265, comment 7

    initial v1  
    2323Also note: The tests don't all have to have individual `@covers` tags. If a test class, through a variety of tests,  covers all aspect of one particular function, a single `@covers` tag for that function in the test class docblock will suffice. Same if a test class covers every aspect of a class. A single `@covers` tag referencing the covered class in the test class docblock is enough in that case.
    2424
    25 For more information, have a look at: https://phpunit.readthedocs.io/en/7.5/annotations.html#covers and https://phpunit.readthedocs.io/en/7.5/code-coverage-analysis.html#specifying-covered-code-parts
     25For more information, have a look at: https://phpunit.readthedocs.io/en/7.5/annotations.html#covers, https://phpunit.readthedocs.io/en/7.5/code-coverage-analysis.html#specifying-covered-code-parts and https://phpunit.readthedocs.io/en/7.5/risky-tests.html#risky-tests-unintentionally-covered-code