AGENT SKILL

testing.fix_input_output_vars

Fix the input / output variables of a test

使用场景测试与质量
License 许可
Apache-2.0
所属仓库
causify-ai/helpers
最近更新
2026-11-02
Stars
★ 0
Forks
1

01 前言 Front Matter

model
haiku
description
Fix the input / output variables of a test

03 SKILL.md 正文

Goal

  • Transform test method so that:

    • The inputs and outputs are strings with """ and dedent
    • The output being checked with self.assert_equal()
    • Follow the directions in .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 in helper functions

    • Follow the directions in .claude/skills/testing.rules.md
      • ## Use Helper Methods When You Have Repetitive Tests
  • Do not change the intent of the test

Verification

  • [ ] Run the tests to make sure that the tests are passing

04 同仓库更多 Skills