Skip to content

Commit e6f5d5f

Browse files
committed
feat(docs): sync README inline AI Context example with actual output
Add missing "Test failed:" line and full_name field to JSON example so documented output matches what the extension emits. Version bump needed to recover from broken prior release workflow.
1 parent b6c2218 commit e6f5d5f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Enables **inline AI context** — a structured block printed directly below each
8585

8686
```
8787
AI Context
88+
Test failed: MyTest: check value
8889
Exception: PHPUnit\Framework\ExpectationFailedException
8990
Message: Failed asserting that two strings are identical.
9091
Diff:
@@ -94,7 +95,7 @@ Enables **inline AI context** — a structured block printed directly below each
9495
-'expected-value'
9596
+'actual-value'
9697
Trace:
97-
#1 tests/Unit/MyTest.php:42 MyTest->testSomething
98+
#1 tests/Unit/MyTest.php:42 MyTest->checkValue
9899
Hints:
99100
- Assertion mismatch detected; compare expected and actual values at the top non-vendor frame.
100101
```
@@ -139,6 +140,7 @@ A machine-readable schema is available at [`schema/ai-report.schema.json`](schem
139140
"test": {
140141
"display_name": "MyTest: check value",
141142
"signature": "MyTest:checkValue",
143+
"full_name": "MyTest:checkValue",
142144
"file": "tests/Unit/MyTest.php"
143145
},
144146
"exception": {

0 commit comments

Comments
 (0)