[wp-trac] [WordPress Trac] #63532: Unit Testing: Checking if images already exists before starting tests

WordPress Trac noreply at wordpress.org
Mon Nov 3 15:06:57 UTC 2025


#63532: Unit Testing: Checking if images already exists before starting tests
-------------------------------------------------+-------------------------
 Reporter:  SirLouen                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.9
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-test-   |     Focuses:  tests
  info dev-feedback                              |
-------------------------------------------------+-------------------------

Comment (by mindctrl):

 > the Docker environment included in WordPress-Develop shares the uploads
 directory for both the installation and the test suite.
 ...
 > For the test suite, could we filter the uploads path and URL to use wp-
 content/test-suite-uploads/ as a disposable location for attachment tests?

 I like this idea. Thoughts @SirLouen?

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


More information about the wp-trac mailing list