generate_and_run_flutter_tests
Generate and run Flutter unit, widget, and state management tests, including commands to execute them.
Instructions
Generates Flutter Unit tests, Widget tests with testWidgets, and Riverpod/Bloc state tests, along with test execution commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testType | No | Type of test to generate. | widget |
| className | Yes | Name of the Screen, Widget, or Controller to test (e.g. 'DashboardScreen', 'AuthController'). | |
| stateManagement | No | State management system. | riverpod |
| methodsOrWidgetsToTest | No | List of methods or user interactions to test. |