flutter_test
Run Flutter tests and get a summary of failed test results. For full error details, use flutter_get_result.
Instructions
Run flutter tests and return a summary of failed tests. Use flutter_get_result to get full error details for specific test IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | No | Filter tests by name (plain string match) | |
| test_path | No | Specific test file or directory to run (e.g. test/widget_test.dart) | |
| extra_args | No | Additional flags to pass to flutter test (e.g. ['--coverage', '--dart-define=KEY=VALUE']) | |
| project_dir | Yes | Path to the Flutter project directory |