Skip to content

Commit 212f59b

Browse files
committed
docs: add nested describe output example for pair command
1 parent 1a126df commit 212f59b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/guide/cli-commands.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,23 @@ Output (with placeholders):
317317
✓ Pairing complete. Modified 2 file(s) with 8 change(s).
318318
```
319319

320+
Output (nested describe blocks - Pest):
321+
322+
```
323+
Found Placeholders
324+
✓ @nested 2 production × 3 tests = 6 links
325+
326+
Production Files
327+
src/Testing/NestedService.php
328+
@nested → NestedServiceTest::NestedService > create method > creates with valid data
329+
@nested → NestedServiceTest::NestedService > delete method > soft deletes
330+
```
331+
332+
::: tip Nested Describe Identifiers
333+
When using nested `describe` blocks in Pest, test identifiers include the full path:
334+
`OuterDescribe > InnerDescribe > test name`
335+
:::
336+
320337
Options:
321338

322339
| Option | Description |

0 commit comments

Comments
 (0)