flutter/dev/automated_tests
James D. Lin b2f8d3a668
Instrument pending timers in tests (#37646)
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.
2019-08-20 10:28:49 -07:00
..
flutter_run_test Run flutter tests through mini test engine when run directly (flutter run -t test_file) (#24930) 2018-12-12 12:51:16 -08:00
flutter_test Tests for flutter test [some_directory] (#36866) 2019-08-13 14:57:43 -07:00
icon Enable widget load assets in its own package in test (#35991) 2019-07-16 09:47:42 -07:00
test_smoke_test Instrument pending timers in tests (#37646) 2019-08-20 10:28:49 -07:00
pubspec.yaml Comparing pixels instead of bytes with GoldenFileComparator (#38473) 2019-08-19 09:06:22 -07:00
README.md Fix tests (#3977) 2016-05-17 12:45:37 -07:00

This is a fake package for use by automated testing. For example, the flutter_tools package uses this to test flutter test.