Claude Code 스킬로 배포 전에 파손된 호출자를 찾아내는 도구를 개발했습니다.
작성자는 Chinese chess 앱에서 함수 수정 후 호출자의 실패를 경험하며 새로운 도구의 필요성을 느꼈습니다. 이 도구 'Test Shield'는 git diff를 읽고 변경된 함수의 모든 호출자를 추적하여 예상치 못한 영향을 식별합니다. 또한, 예상치 못한 영향에 대해 pytest 회귀 테스트를 생성하고 실행하여 배포 가능성을 판단합니다. 이 도구는 기존의 코드 커버리지 도구와 차별화된 기능을 가지고 있습니다.
Developed a tool to find broken callers before deployment using Claude Code skill.
The author experienced failures of callers after modifying a function in a Chinese chess app, highlighting the need for a new tool. This tool, 'Test Shield', reads the git diff and traces all callers of changed functions to identify surprising impacts. It generates pytest regression tests for these unexpected impacts and runs them to assess deployment readiness. This tool offers a unique functionality compared to conventional code coverage tools.