I’ve updated the WP Browser package, precisely the WordPress database module, to leverage the
dontHaveInDatabase method introduced in the
ExtendedDb class covering WordPress defaults tables.
The new methods do not have any “intelligence” for cross-referencing deletion and merely abstract the tables names.
Nonetheless the methods make test cases way more readable and enable some solid database state manipulation on a per-test base.
For the time being I will leave the module alone and add or patch as I run across needs and wants.