gpsaggese/helpers / .claude/skills/testing.fix_input_output_vars
testing.fix_input_output_vars
VerifiedFix the input / output variables of a test
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 717 B |
SKILL.md
View on GitHub---
description: Fix the input / output variables of a test
model: haiku
---
# Goal
- Transform the test method so that:
- The inputs and outputs are strings with """ and dedent
- The output is checked with `self.assert_equal()`
- Follow `.claude/skills/testing.rules.md`:
- `# Writing Test Code`
- `## Code Formatting in Tests`
- `# Test Input and Output Handling`
- `## Compare Whole Output with assert_equal, Not Piecewise`
- Factor out as much code as possible into helper functions
- Follow `## Use Helper Methods When You Have Repetitive Tests` in
`.claude/skills/testing.rules.md`
- Do not change the intent of the test
# Verification
- [ ] Run the tests to make sure they pass
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |