mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Flutter widget tests assert if a test completes with timers still pending. However, it can be hard to diagnose where a pending timer came from. For example, a widget might consume a third-party library that internally uses a timer. I added a FakeAsync.pendingTimersDebugInfo getter to quiver (https://github.com/google/quiver-dart/pull/500). Make flutter_test use it. Additionally modify Flutter's debugPrintStack to take an optional StackTrace argument instead of always printing StackTrace.current. Fixes #4237. |
||
---|---|---|
.. | ||
flutter_run_test | ||
flutter_test | ||
icon | ||
test_smoke_test | ||
pubspec.yaml | ||
README.md |
This is a fake package for use by automated testing.
For example, the flutter_tools
package uses this to test flutter test
.