mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-21 00:21:30 +00:00
Close the integration-coverage gap flagged in the production-readiness
review. Units 6c (collection-accessor unwrap), 6d (using-static member
injection), and 6e (overload disambig + interface dispatch) previously
had only hook-level unit tests; the end-to-end wiring was exercised
only by the parity harness.
Three minimal fixtures + four new it() blocks:
* csharp-collection-accessor — RenderAll iterates
Dictionary<string, Widget>.Values and calls .Render(); asserts the
CALLS edge lands on Widget.Render.
* csharp-using-static — `using static Helpers.MathUtils;` makes
Square(int) a free-callable in the consumer; asserts the CALLS
edge lands on MathUtils.Square.
* csharp-overload-interface — three assertions:
1. Run → Log binds to the 2-arg overload only (arity narrowing);
verified via target Method node's parameterTypes.length === 2.
2. Run → Greet emits one primary edge to IGreeter.Greet plus two
reason='interface-dispatch' siblings to En/FrGreeter.Greet.
3. Interface-dispatch fan-out excludes the primary target.
Verified:
- csharp integration 189/189 passing
|
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||
| global-setup.ts | ||
| vitest.d.ts | ||