Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds minimal behavior-preserving .NET seams letting tests deterministically control time, delays, files, environment, GUIDs, and randomness.
3 of 22 test cases passed with the skill.
This test ran on v3. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Introduce the smallest behavior-preserving seam needed to test a specific C# behavior, then add deterministic tests that prove both the behavior and the seam. The production edit is a means to the requested test, not an invitation to redesign adjacent code.
code-testing.detect-static-dependencies.generate-testability-wrappers.migrate-static-to-wrapper, then generate tests separately.TimeProvider or
IFileSystem and asks to migrate call sites to it. Use
migrate-static-to-wrapper, which also updates affected tests.| Input | Required | Description |
|---|---|---|
| Behavior to test | Yes | The method/workflow and expected observable behavior |
| Target scope | No | Discover the narrowest relevant file/project when omitted |
| Allowed production changes | No | Default to the minimum internal/constructor seam |
Next to this one in the catalogue, plus more from the same author.