Claude changes code
CodeMD detects each modified or newly created function as you work.
Focused testing for AI-written code
When Claude changes a function, CodeMD follows its call graph to find the existing tests that matter—or creates the missing tests—then runs that focused set before and after commit.
Start with the CodeMD VS Code extension.
CodeMD detects each modified or newly created function as you work.
The call graph reveals callers, dependencies, and the behavior that could be affected.
Existing tests are found first. When coverage is missing, CodeMD creates an appropriate test.
Run them pre-commit in VS Code and post-commit locally or with supported online coding-agent APIs.
Why focused testing
CodeMD uses the actual change and its call-graph relationships to keep the test scope relevant. You get fast feedback while protecting the behavior around the changed function.
Every modified and new function gets attention as soon as Claude touches it, helping prevent coverage gaps from becoming future defects.
CodeMD looks for the most relevant existing test first. It creates a new test only when the change needs coverage that is not already there.
Testing does not stop at one function. Call-graph context helps verify how the change interacts with callers and connected behavior.
The right test for the risk
CodeMD can create the form of test that best matches the changed behavior and its place in the system.
Checks the function's behavior in isolation.
Protects expectations between components.
Verifies connected functions work together.
Preserves behavior a change could break.
Targets the highest-impact call paths first.
Before and after commit
Use the CodeMD VS Code extension to run relevant tests before the code is committed. After commit, run the same focused approach locally or through supported online coding-agent APIs.
This gives developers immediate feedback during implementation and fresh verification after the change enters repository history.
Install the free extensionInstall CodeMD for VS Code and try focused, call-graph-aware testing for free.