Script Loading Strategy Tests
Demo plugin that puts together various scenarios to test the script loading strategies proposed for WordPress core
by Weston Ruter · github.com/westonruter/wp-script-loading-strategy-tests · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/westonruter/wp-script-loading-strategy-tests/archive/refs/heads/main.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
Script Loading Strategy Tests
Test cases for wordpress-develop#4391.
To use this plugin, upon activation, scroll down to the footer and see the Script Loading Strategy Tests section. This lists out the available tests, which are all enabled by default. You can enable/disable each test individually. The test results shows the order of execution for the loaded scripts and their inline before/after scripts.
Add new test cases to the cases directory.