Changes between Version 3 and Version 4 of Ticket #57844, comment 13
- Timestamp:
- 03/03/2023 08:56:33 PM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57844, comment 13
v3 v4 4 4 > I find it very helpful that the build step is currently not required for that, saves a lot of time :) 5 5 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.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 some of the production (built) files. That makes it unreliable. 7 7 8 8 So 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.