--- id: f9f07ecf-1642-406c-bb23-c68ce7da631d type: solution title: "Resource management tests added" tags: [vagabond-rpg, foundryvtt, testing, quench] importance: 0.5 confidence: 0.8 created: "2025-12-14T02:44:11.878177+00:00" updated: "2025-12-14T02:44:11.878177+00:00" --- Added 12 Quench tests for VagabondActor resource methods (modifyResource, applyDamage, applyHealing, spendMana, spendLuck, addFatigue, takeBreather, takeFullRest, isDead). Key learning: armor is calculated from equipped items in prepareDerivedData, so tests must create actual armor items. HP defaults to 0 so isDead tests need to set HP first.