Overview
vg tests shows which test files cover a node through call or coverage linkage. --missing inverts to find untested nodes nearby. --run or --exec prints or runs the minimal test command.
Usage
vg tests <name>
| Flag | Description |
|---|---|
<name> | Node to inspect |
--missing | Show untested nodes nearby instead |
--run | Print the command to run exactly these tests |
--exec | Run that command |
--pick <n> | Pick the nth candidate when ambiguous |
Examples
vg tests UserService.createUser
vg tests PaymentProcessor --run
vg tests AuthMiddleware --exec
vg tests LoginController --missing
Related
- vg impact — Structural blast radius (with
--tests)