Claude Code Stellaris Overmind testing for ruleset validation
Add pytest cases for Stellaris Overmind engine rules, exercising the real validator for versions, states, and actions.
中文Install in Claude Code
Open Stellaris Overmind in Claude Code with the project test environment and shared fixtures under tests/.
- Review `.claude/skills/testing/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/testing/` in your project and save the reviewed file as `.claude/skills/testing/SKILL.md`.
- Start Claude Code from that project's root, then select `/testing` in the slash menu.
Example task
Pass {rulesetVersion: 7, submittedVersion: 6, validAction: true} to the game validator. The two versions differ.What to check
Keep the real validator and verify {rulesetVersion: 7, submittedVersion: 6, verdict: 'reject'}. Expect the rejection to identify the ruleset version mismatch.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I substitute a mock for the validator in this check?
The actual validator decides whether the directive is rejected. Use fixtures for inputs and dependencies while exercising that logic.