[Unit Tests] Add coverage for woodcutting abilities and quest chain events - #330
[Unit Tests] Add coverage for woodcutting abilities and quest chain events#330DiamondDagger590 wants to merge 1 commit into
Conversation
Cover HeavySwing and DryadsGift (activation chance, radius/XP drop, block validation, metadata accessors) and three quest chain events (QuestChainExpireEvent, QuestChainRestartEvent, QuestChainStepRetryEvent). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SLr2saz77skR2gjcbTBh5V
|
Claude finished @DiamondDagger590's task in 3m 23s —— View job Claude is reviewing this PR
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: QUIET Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR adds new unit tests for two woodcutting abilities and three quest-chain event classes. The tests cover configuration-driven values, fallback and formula behavior, block validation, metadata accessors, event getters, cancellation state, retry values, restart reasons, and handler-list access. ChangesTest coverage additions
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Summary
HeavySwingandDryadsGiftwoodcutting abilities (activation chance, radius/XP drop with Parser formula evaluation, block validation, metadata accessors)QuestChainExpireEvent,QuestChainRestartEvent,QuestChainStepRetryEventNew test files (5)
HeavySwingTestgetActivationChance,getRadius,isBlockValid, metadataDryadsGiftTestgetActivationChance,getExperienceToDrop,isBlockValid, metadataQuestChainExpireEventTestQuestChainRestartEventTestQuestChainStepRetryEventTestTest plan
./gradlew test— zero failures)Generated by Claude Code
Summary by CodeRabbit