Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61530, comment 79


Ignore:
Timestamp:
10/25/2024 09:51:02 PM (14 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61530, comment 79

    initial v1  
    1 Just ran into the error: "The test suite requires the WordPress Importer plugin to be available in the `/data/plugins/` directory." on a fresh checkout running wp-env.
     1Just ran into the error: "The test suite requires the WordPress Importer plugin to be available in the `/data/plugins/` directory." on a fresh git clone running wp-env.
    22
    33Sorry but [59085] doesn't seem to make sense. Why is a WordPress plugin required to be present at an arbitrary location, not in the `wp-content/plugins` directory, to be able to run unit tests? This seems contraintuitive, the PHP unit tests can be run only partially, or while developing a plugin, etc. It doesn't seem to make sense to prevent running any tests just because some non-core file is not present. Seems a better solution would be to skip any core tests that require external/extra files when they are not present?