Speed Up PHPUnit Tests by Emptying Uploads Directory

tl;dr Periodically empty out the uploads directory in your WordPress dev environment to speed up PHPUnit tests. Over the past few months of working on the AMP plugin for WordPress, I’ve been noticing that PHPUnit has been running slower and slower over time. Well, today this frog jumped out of the boiling water: I decided … Continue reading Speed Up PHPUnit Tests by Emptying Uploads Directory