Comprehensive Backfill Testing for ComputerCharacter Service#21
Open
Comprehensive Backfill Testing for ComputerCharacter Service#21
Conversation
Add extensive backfill testing for the computeCharacter service covering: **Full Casters (Wizard, Sorcerer, Cleric, Druid, Bard):** - Spell slot progression at levels 1, 3, 5, 9, 10, 17 - Cantrip counts at different levels - Hit dice verification - Class-specific traits and abilities - Spellcasting ability verification **Half Casters (Paladin, Ranger):** - Spell slot progression (starting at level 2) - No cantrips verification - Hit dice and class traits - Max spell level checks **Third Casters (Eldritch Knight, Arcane Trickster):** - Subclass-dependent spellcasting - Spell slots starting at level 3 - Cantrip counts - Intelligence-based spellcasting - Max spell level progression (up to 4th level) - Champion Fighter as non-spellcasting control **Warlock Pact Magic:** - Separate pact magic slot system - Slot progression at levels 1, 2, 5, 11, 17 - Verification of mystic arcanum traits - Charisma-based spellcasting **Non-Spellcaster Classes (Barbarian, Monk, Fighter, Rogue):** - Hit dice verification (d12, d8, d10, d8) - Class-specific traits (rage, ki, fighting style, sneak attack) - Unarmored defense and other features **Multiclassing Scenarios:** - Full + Full (Wizard/Cleric, Sorcerer/Bard) - Full + Half (Wizard/Paladin, Cleric/Ranger) - Full + Third (Wizard/Eldritch Knight, Sorcerer/Arcane Trickster) - Half + Half (Paladin/Ranger) - Half + Third (Paladin/Eldritch Knight) - Warlock + others (separate pact magic tracking) - Triple multiclass (Wizard/Cleric/Bard) **Key Test Features:** - Uses scenario-based testing approach from createCharacter tests - Follows AAA (Arrange-Act-Assert) philosophy with separate test blocks - Tests both SRD 5.1 and SRD 5.2 rulesets - Validates spell slot multiclassing math (full + floor(half/2) + floor(third/3)) - Verifies proficiency bonus scaling - Checks mixed hit dice in multiclass characters 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add extensive backfill testing for the computeCharacter service covering:
Full Casters (Wizard, Sorcerer, Cleric, Druid, Bard):
Half Casters (Paladin, Ranger):
Third Casters (Eldritch Knight, Arcane Trickster):
Warlock Pact Magic:
Non-Spellcaster Classes (Barbarian, Monk, Fighter, Rogue):
Multiclassing Scenarios:
Key Test Features:
🤖 Generated with Claude Code