[wp-trac] [WordPress Trac] #61530: Test tool and unit test improvements for 6.7

WordPress Trac noreply at wordpress.org
Wed Sep 25 04:41:48 UTC 2024


#61530: Test tool and unit test improvements for 6.7
--------------------------------------+---------------------
 Reporter:  jonsurrell                |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jrf):

 @ramonopoly IF Gutenberg runs with `WP_RUN_CORE_TESTS=1`, the first thing
 to do is figure out if that is actually the right setup. If yes: in that
 case, the importer plugin should be installed in the WP
 `tests/phpunit/data/plugins` directory. If not: remove the constant or set
 it to `0`.

 This is basically the same as my previous answer. The Core tests are set
 up to allow for plugin integration tests, but it is not Core's
 responsibility if those integration tests are not wired correctly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61530#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list