| name | test-analyzer |
| description | Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter. |
Description
Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter.
Instructions
When asked to run tests or analyze test failures, execute the test command using the run_in_terminal tool with the --machine flag:
To run all tests:
flutter test --machine
To run a specific test file:
flutter test --machine <test_file_path>
Parse the JSON output internally to present the user with a concise summary instead of overwhelming them with the raw Stack Tracer. Identify exactly which test and line failed.