Results for “Testing”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Deprecated the window singleton3.10.0deprecated
In preparation for supporting multiple views and multiple windows, the `window` singleton
- Transition of platform channel test interfaces to flutter_test package2.5.0breaking
will continue to work. Tests that previously did not import `package:flutter_test/flutter_test.dart` can do so to enable these shims; this should be sufficient to migrate most
- TestWidgetsFlutterBinding.clock1.20.0breaking
TestWidgetsFlutterBinding.clock` now comes from `package:clock` and not `package:quiver`. The `flutter_test` package is removing its dependency on the heavier weight `quiver` package in favor
- [Test cross imports] No material in `test/foundation`, `test/gestures`, `test/semantics`, `test/services`3.47.0improvement
Test cross imports] No material in `test/foundation`, `test/gestures`, `test/semantics`, `test/services` (Framework, by @navaronbracke
- TestTextInput state reset1.17.0breaking
state of a `TestTextInput` instance, a stub for the system's onscreen keyboard, is now reset between tests. The state of `WidgetTester.testTextInput` is now reset before running
- Test coverage is broken due to pinned `test_api` version in `flutter_test`.3.41.1bugfix
Test coverage is broken due to pinned `test_api` version in `flutter_test
- Testing autosubmit bot -- updating testowners3.47.0improvement
Testing autosubmit bot -- updating testowners (Other changes, by @gaaclarke
- - Fixes testMultiplePlatformViewsWithOverlays test on MacOS3.16.5bugfix
Fixes testMultiplePlatformViewsWithOverlays test on MacOS
- Version 1.29 of the Dart test package adds a blank line to test output causing unexpected test failures.3.41.1bugfix
Version 1.29 of the Dart test package adds a blank line to test output causing unexpected test failures
- Reland: remove material in context_menu_controller_test, icon_test, list_wheel_scroll_view_test, media_query_test, platform_menu_bar_test3.44.0improvement
Reland: remove material in context_menu_controller_test, icon_test, list_wheel_scroll_view_test, media_query_test, platform_menu_bar_test (Framework
- The default page transition on Android is now PredictiveBackPageTransitionBuilder3.38.0breaking
The default page transition on Android has been updated from `ZoomPageTransitionsBuilder` to
- Semantics Order of the Overlay Entries in Modal Routes1.20.0breaking
route overlay entries. Code before migration: ```dart import 'dart:ui'; import 'package:flutter_test/flutter_test.dart'; import 'package:flutter/rendering.dart'; import 'package:material_ui/material_ui.dart'; void main() { testWidgets('example test', (WidgetTester
- - Golden test failures can cause the test harness to stall.3.35.3bugfix
Golden test failures can cause the test harness to stall
- [test cross imports] More test/rendering + flutter_test/test fixes3.47.0bugfix
test cross imports] More test/rendering + flutter_test/test fixes (Framework, by @navaronbracke
- Change the enterText method to move the caret to the end of the input text2.5.0breaking
WidgetTester.enterText` and `TestTextInput.enterText` methods now move the caret to the end of the input text. In addition to replacing the text with the supplied text, `WidgetTester.enterText` and `TestTextInput.enterText
- Android FlutterMain.setIsRunningInRobolectricTest testing API removed2.0.0removed
write Java JUnit tests (such as Robolectric tests) against the Flutter engine's Java embedding and used the `FlutterMain.setIsRunningInRobolectricTest(true)` API, replace it with the following
- The RenderEditable needs to be laid out before hit testing1.20.0breaking
before doing so. Code before migration: ```dart import 'package:flutter/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:material_ui/material_ui.dart'; void main() { test('attach and detach correctly handle gesture
- - Fix OOM VM test (`transferable_throws_oom_test` crashing after upgrade from Ubuntu 16)2.2.2bugfix
test (`transferable_throws_oom_test` crashing after upgrade from Ubuntu
- Update `test_timeout_secs` to match `timeout` for `Linux web_skwasm_tests_*` and `Linux web_canvaskit_tests_*`3.38.0improvement
Update `test_timeout_secs` to match `timeout` for `Linux web_skwasm_tests_*` and `Linux web_canvaskit_tests_*` (Other changes, by @mdebbar
- Add `TestTextField` and migrate tests3.44.0new-feature
TestTextField` and migrate tests (Material, by @Renzo-Olivares). TestTextField
- Changing the default goldenFileComparator for integration_tests3.32.0breaking
default which should work as expected: ```dart diff import 'package:integration_test/integration_test.dart'; - import 'package:my_integration_test/custom_golden_file_comparator.dart'; void main() { - goldenFileComparator = CustomGoldenFileComparatorThatWorks(); // ... } ``` _Fun fact_: The existing code that
- Container color optimization1.17.0breaking
create a `BoxDecoration` need to be modified. Code before migration: ```dart testWidgets('Container color', (WidgetTester tester) async { await tester.pumpWidget(Container(color: Colors.red)); final Container container = tester.widgetList ().first; expect
- Standardize on Test* widgets in *_tester.dart files3.44.0improvement
Standardize on Test* widgets in *_tester.dart files (Framework, by @justinmc
- Fix leaks in `flutter_test` tests3.44.0bugfix
leaks in `flutter_test` tests (Framework, by @dkwingsmt
- Replace AnimationSheetBuilder.display with collate2.5.0breaking
following changes have been made to the `AnimationSheetBuilder` class: `AnimationSheetBuilder` is a testing utility class that records frames of an animating widget, and later composes the frames
- Reland Standardize on Test* widgets in *_tester.dart files3.44.0improvement
Reland Standardize on Test* widgets in *_tester.dart files (Framework, by @justinmc
- [Android] Break up plugin_test integration tests3.38.0improvement
Android] Break up plugin_test integration tests (Other changes, by @camsim99
- Inline test callback painter in tab scaffold test3.47.0improvement
Inline test callback painter in tab scaffold test (Framework, by @DaveT1991
- Use local semantics tester in Material button tests3.47.0improvement
local semantics tester in Material button tests (Material, by @MarlonJD
- Explain how to run Google Test tests directly3.38.0improvement
Explain how to run Google Test tests directly (Other changes, by @loic-sharma
- Update .ci.yaml and TESTOWNERS for arc macrobenchmark tests3.41.0improvement
Update .ci.yaml and TESTOWNERS for arc macrobenchmark tests (Other changes
- Add android_hardware_smoke_test integration tests3.47.0new-feature
android_hardware_smoke_test integration tests (Other changes, by @andywolff
- Add TestWidgetsApp utility and refactor widget tests to use WidgetsApp3.44.0new-feature
TestWidgetsApp utility and refactor widget tests to use WidgetsApp (Framework, by @rkishan516). TestWidgetsApp WidgetsApp
- Encourage splitting large test files in testing documentation 23.44.0improvement
Encourage splitting large test files in testing documentation 2 (Framework, by @crackedhandle
- Add a platform view test to android_hardware_smoke_test3.47.0new-feature
platform view test to android_hardware_smoke_test (Framework, by @andywolff
- [Linux] Use fixture tests in remaining unit tests3.47.0improvement
Linux] Use fixture tests in remaining unit tests (Framework, by @robert-ancell
- [Test cross_imports] Check cross imports in flutter_test/**3.47.0improvement
Test cross_imports] Check cross imports in flutter_test/** (Framework, by @navaronbracke
- Add a platform view test to android_hardware_smoke_test3.47.0new-feature
platform view test to android_hardware_smoke_test (Framework, by @andywolff
- Update the test package for the web engine unit test bits.3.38.0platform
Update the test package for the web engine unit test bits. (Web, by @eyebrowsoffire
- Fix bug in test_golden_comparator, add an e2e test.3.38.0tooling
test_golden_comparator, add an e2e test. (Tooling, by @matanlurey
- Fix style manager test by actually focusing the tested element.3.44.0bugfix
style manager test by actually focusing the tested element. (Web, by @harryterkelsen
- Remove `embedded_android_views` (on-device) tests, same as emulator test3.38.0improvement
Remove `embedded_android_views` (on-device) tests, same as emulator test (Other changes, by @matanlurey
- Add other types of platform view tests to android_hardware_smoke_test3.47.0new-feature
other types of platform view tests to android_hardware_smoke_test (Other changes, by @andywolff
- Fix false positives for hit test misses in flutter_test3.44.0bugfix
false positives for hit test misses in flutter_test (Framework, by @O-Hannonen
- feat: Add --no-uninstall flag to flutter test for integration tests3.44.0tooling
feat: Add --no-uninstall flag to flutter test for integration tests (Tooling, by @Mastersam07
- Add calls to await `flutterDriver.waitUntilFirstFrameRasterized()` for all `android_engine_test` screenshot tests3.44.0new-feature
calls to await `flutterDriver.waitUntilFirstFrameRasterized()` for all `android_engine_test` screenshot tests (Other changes, by @gmackall
- Made sure no test() declaration happens asynchronously in fragment shader tests3.44.0improvement
Made sure no test() declaration happens asynchronously in fragment shader tests (Other changes, by @gaaclarke
- Simplify TesterContextGLES (multithreading logic not needed), and enable some tests that now pass3.44.0new-feature
Simplify TesterContextGLES (multithreading logic not needed), and enable some tests that now pass (Other changes
- - Update DDC test and builder configuration3.7.6bugfix
Update DDC test and builder configuration
- Updated test package and related dependencies.3.41.4bugfix
Updated test package and related dependencies
- (Test cross-imports) Remove legacy Material import from sliver_constraints_test3.44.0improvement
Test cross-imports) Remove legacy Material import from sliver_constraints_test (Framework, by @mayanksharma9
- Temporarily remove the Pixel 9/API 36 device from the Firebase Test Lab tests.3.44.0improvement
Temporarily remove the Pixel 9/API 36 device from the Firebase Test Lab tests. (Other changes, by @jason-simmons
- [Android 16] Update `android_engine_vulkan_tests` to Test Against SDK 36 Emulator3.41.0improvement
Android 16] Update `android_engine_vulkan_tests` to Test Against SDK 36 Emulator (Other changes, by @jesswrd
- Remove sliver_test_utils cross-import from sliver_app_bar_test3.44.0improvement
Remove sliver_test_utils cross-import from sliver_app_bar_test (Material, by @Sanaullah49
- Add documentation for overarching tests in flutter, add skill to help agents figure out where tests go3.47.0new-feature
documentation for overarching tests in flutter, add skill to help agents figure out where tests go (Framework, by @reidbaker
- In flutter_test_performance, consider the blank line at the start of "flutter test" output to be optional.3.44.0improvement
flutter_test_performance, consider the blank line at the start of "flutter test" output to be optional. (Other changes, by @jason-simmons
- Expand coverage of android_hardware_smoke_test. Add image, text, blend mode, and blur tests.3.47.0new-feature
Expand coverage of android_hardware_smoke_test. Add image, text, blend mode, and blur tests. (Framework, by @andywolff
- Fixes a crash when running Android instrumented tests.3.44.6bugfix
Fixes a crash when running Android instrumented tests
- In the Web codec tests, skip an undecodable image that is used to test a Skia error handling code path.3.44.0platform
codec tests, skip an undecodable image that is used to test a Skia error handling code path. (Web, by @jason-simmons
- - Fixes test reorderable_list_test.dart failing for certain ordering seeds, such as 20250221.3.29.1bugfix
Fixes test reorderable_list_test.dart failing for certain ordering seeds, such