WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #50267, comment 2


Ignore:
Timestamp:
08/23/2020 02:03:45 PM (14 months ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50267, comment 2

    v1 v2  
    1313A patch fixing code coverage setup in the `phpunit.xml.dist` file to point to the `build` directory which makes the config consistent with the `WP_RUN_CORE_TESTS` being set to `1` in the same config file.
    1414
    15 This patch included updating the list, as added in #43067 / #43240 / [42665], to be in line with the current code base and excluding the plugins and themes included with WP Core from being considered for code-coverage.
     15This patch includes updating the list, as added in #43067 / #43240 / [42665], to be in line with the current code base and excluding the plugins and themes included with WP Core from being considered for code-coverage.
    1616
    1717If people locally have a `phpunit.xml` file which changes the `WP_RUN_CORE_TESTS` constant to `0`, they would also - in their local file - have to change the code coverage setup to use the `src` directory.