A repository test against a mocked connection asserts that the code calls the methods you expected, which is a restatement of the code rather than a check on…
Every option with autoload set to yes is fetched in a single query on every page load, and a plugin storing a megabyte there makes every request slower…
EXPLAIN reports the plan and the optimiser’s estimates, and the estimates are frequently wrong — a query planned for 40 rows that reads 400,000 looks entirely healthy. The…
A cycle in the data — a category set as its own ancestor through the admin — recurses until cte_max_recursion_depth stops it with an error, and the default…
Truncating every table between tests costs a statement per table per test, which on forty tables and four hundred tests is sixteen thousand statements; a transaction and a…