every project has that module - the critical one missing tests entirely . it's there but untouched. here's how using
claude-code helped me finally add those crucial safety nets without breaking anything ⭐ :
1) i started by identifying which part of my codebase was most at risk .
2) then, with claude-code running in the background on a copy branch , it generated test cases that matched existing functionality.
3) next step: ran these tests locally to ensure they didn't conflict or crash anything ⬅️.
4) once green light ✨ from local testing - merged into main and deployed. no issues reported by users .
anyone else struggled with this? share your tips!
https://dev.to/subprime2010/how-i-use-claude-code-to-write-tests-for-untested-code-a-complete-workflow-32oh