Opened 7 weeks ago
Last modified 7 weeks ago
#62106 closed defect (bug)
Plugin phpunit testing is broken — at Initial Version
Reported by: | bjorsch | Owned by: | |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
https://core.trac.wordpress.org/changeset/59085 has broken plugin PHPUnit tests that are set up following the instructions at https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/
Attempting to create a new plugin and run its tests following the instructions on that page now produces the following error message upon running phpunit
:
The test suite requires the WordPress Importer plugin to be available in the
/data/plugins/
directory. See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests
This check should presumably only be run when WP_RUN_CORE_TESTS
is defined.
Note: See
TracTickets for help on using
tickets.