LinuxDevil

Fixing a failing test

Steps for fixing a failing unit test

LinuxDevil 7 Updated 2w ago
GitHub

Install

npx skillscat add linuxdevil/agent-sdk/registry-coding-kit-skills-fix-failing-test

Install via the SkillsCat registry.

SKILL.md

Fixing a failing test

  1. Run the tests and read the failure message.
  2. Read the code under test, not only the test.
  3. Change the code, not the test, unless the test is wrong.
  4. Run the tests again and report what changed in one sentence.

Categories