Write or review Cataclysm-BN tests that avoid flakes, use deterministic fixtures, and clean up global state.
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Use when adding or changing automated tests.
data/mods/TEST_DATA for data with random, balance, or evolving behavior.--rng-seed before accepting the fix.--rng-seed, and backend flags. Run that same shard command on the final rebased HEAD before declaring the fix validated; do not substitute a narrower tag filter or a different full-test command.DebugLog(DL::Error, ...) still makes the test process fail even when assertions pass. Use
capture_debug_errors_during for the injected failure only and assert its exact messages; never clear
the global observed-error flag or disable the test runner's error check.restore_on_out_of_scope for calendar, options, globals, and singleton state.clear_map() and explicit player placement when map contents matter.TEST_DATA fixtures over mutating base-game data in the test body.cataclysmbn/Cataclysm-BN
9d4abdd
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.