Is there a way to delete a test wallet without stopping bitcoind? For my unit tests, I'd like to be able to delete and recreate a wallet without having to stop bitcoind and manually deleting the wallet directory.

When I try to delete such wallet directory without stopping bitcoind, I get an error since an handle exists on "db.log" (on Windows at least).

Is there a clean way to delete a (testnet) wallet without stopping bitcoind?
You can unload the wallet using unloadwallet and then delete the wallet file.