You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-20Lines changed: 46 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
-
# A PHPUnit results printer that works with the TOON format
1
+
# PHPUnit TOON Result Printer
2
2
3
3
[](https://packagist.org/packages/peterfox/phpunit-toon-result-printer)
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
7
+
A PHPUnit results printer that outputs test results in [TOON](https://github.com/helgesverre/toon) (Token-Oriented Object Notation) format.
8
8
9
-
## Support us
9
+
This extension is specifically designed to provide compact, highly readable test results optimized for LLM (Large Language Model) consumption, helping AI agents quickly diagnose test failures.
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
14
-
15
-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
13
+
-**Compact Output**: Uses TOON format to minimize token usage while remaining human-readable.
14
+
-**AI-Friendly Diagnostics**: Includes file paths, line numbers, error messages, and stack traces for failed and errored tests.
15
+
-**Concise Success Reports**: Passed tests only show the test name and status to keep the output focused on what needs attention.
16
+
-**PHPUnit Extension**: Integrates seamlessly as a PHPUnit extension.
16
17
17
18
## Installation
18
19
@@ -22,35 +23,60 @@ You can install the package via composer:
0 commit comments