#62106 closed defect (bug) (fixed)
Plugin phpunit integration testing (following documented instructions) is broken
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.7 | Priority: | normal |
| Severity: | normal | Version: | 6.7 |
| Component: | Build/Test Tools | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
[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.
Change History (5)
#1
@
15 months ago
- Summary changed from Plugin phpunit testing is broken to Plugin phpunit integration testing (following documented instructions) is broken
#2
in reply to:
↑ description
@
15 months ago
- Milestone changed from Awaiting Review to 6.7
Note: See
TracTickets for help on using
tickets.
Replying to bjorsch:
Indeed, thanks!