write-flutter-tests
MobileGuides writing and running tests for Flutter apps at three levels, pure Dart unit tests, widget tests in the flutter_test sandbox, and integration tests that run on a device or emulator with the integration_test package. Covers picking the right level for the code under test, finders and gesture simulation, mocking with Mockito and with platform channel handlers, diagnosing frequent failures such as overflow errors, missing finders, and pumpAndSettle timeouts, and running suites with name filters and coverage reports. Use when adding, updating, or debugging tests in a Flutter or Dart project, or when mocking plugin and MethodChannel calls. Not for writing production app features, building CI pipelines beyond basic test commands, or writing native JUnit or XCTest suites for plugin code.
- Version
- v1.0.0
- Size
- 18 KB
- Updated
- 2026-10-06
$ skilvault read --manual write-flutter-testsYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.