Commit c7ea458
fix(tests): set $commandName in BeforeDiscovery for the now-discovered Context name
The 'Test <_> help parameter help for <commandName>' Context name expands
<commandName> at discovery, but $commandName was only set in BeforeAll. Now that
the prior fix makes this Context actually get discovered, populate $commandName in
BeforeDiscovery too so the generated test names render correctly.
Flagged by Copilot on #35.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ccd076e commit c7ea458
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
0 commit comments