Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #57844, comment 13


Ignore:
Timestamp:
03/03/2023 08:56:33 PM (16 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57844, comment 13

    v3 v4  
    44> I find it very helpful that the build step is currently not required for that, saves a lot of time :)
    55
    6 Yep, I agree, PHPUnit testing in `/src` is faster and more convenient for developers. But it also has one big problem: testing from `/src` does not test the production (built) files in some cases. That makes it unreliable.
     6Yep, I agree, PHPUnit testing in `/src` is faster and more convenient for developers. But it also has one big problem: testing from `/src` does not test some of the production (built) files. That makes it unreliable.
    77
    88So perhaps running PHPUnit tests from `/src` may be considered "developer convenience" but imho should not be considered acceptable for production testing of WordPress. I.e. tests that run after a commit should probably be testing the production files, not the "development (partial) build" in /src.