Filter
Exclude
Time range
-
Near
Many Flutter widget tests fail after harmless UI changes. The feature still works. The test breaks. That usually means the finder targets the wrong thing. A text-based finder ties the test to copy. Rename “Continue” to “Next” and the test fails, even though the action still triggers the same navigation. A deep find.byType ties the test to structure. Move a widget one level up and the test fails, even though the screen behaves the same. The test couples to implementation instead of behavior. A better approach anchors the finder to intent. Pick a stable handle for the interaction, then scope it to the right area when the screen contains multiple similar elements. A well-placed key on a primary action removes dependence on wording and layout depth. A scoped descendant keeps precision without hardcoding the tree. This changes failure modes. The test now fails when the behavior changes, not when the UI gets reorganized. Minimal example in the visual. Tests should break on regressions, not on refactors. #flutter #dart #softwareengineering #mobiledevelopment #softwaretesting #unittesting #widgettesting #cleanarchitecture #testing #devtips #programming #developer
12
915
Discussing our new #flutter testing pyramids 🔼🔼🔼 #unitTesting #widgetTesting #goldenTesting #integrationTesting
2
61
1,712
2/ This edition comes with new chapters on Advanced #InteractiveWidgets, #UnitTesting, and #WidgetTesting, along with the #StateManagementchapter now includes #Riverpod.
1
2
100
🚀 Did you know that #Flutter apps are more than just their components? My recent blog post, "Flutter - Full App Widget Testing," has been making waves for a week now! 🌊 It was featured in Mobile Automation Newsletter. Don't miss out on this comprehensive guide on why testing the entire widget tree is critical 💡 🌳 By testing the full widget tree, you can: 1️⃣ Verify UI behavior 2️⃣ Simulate real-world user interactions 3️⃣ Achieve comprehensive test coverage ⏲️ Plus, widget tests are FAST, meaning you can identify issues quickly & efficiently. 📝 This post is packed with code examples, dependency injection techniques, & insights into the broader concepts of automated testing and UI behavior. Make sure you don't miss it! 👩‍💻👨‍💻 🔗 Read the full post here: medium.com/@cfdevelop/flutte… #FlutterDev #AppTesting #WidgetTesting #CodeExamples #UI #SoftwareTesting

14
1,426
Handy widget test tip. ensureVisible scrolls the finder widget into view. I wasn’t able to click on an Inkwell, but this fixed it. I was previously using scrollIntoView but this is pretty flakey and annoying to use. #flutterdev #widgettesting
2
10
974
Literally, read my mind and wrote several paragraphs for my next article #repositorypattern #flutterdev #widgettesting #architecturalpatterns
2
1
7
Widget testing tip: run all your widget tests as integration tests on various platforms. That way you can be sure they run on an actual device and you can capture video to show that the app is working Check out this article christianfindlay.com/blog/fl… #flutterdev #widgettesting
3
7
23 Oct 2022
Minimalist Guide to Testing in Flutter — Part 3 Automated Testing by Hasan Basri Bayat at #ITNEXT. #flutter #dart #integrationtesting #unittesting #widgettesting itnext.io/minimalist-guide-t…

1
1
This is my first #flutter video content on #widgettesting. I spent about two hours on this and the quality is garbage. At least I learned how to do this and won't make the same mistakes next time. youtu.be/3N1fng1GWOQ

5
1
19
30 Nov 2021
ちゃんとWidgetTestingで確認してるのすごい #FlutterKaigi
2
16 Jan 2019
With @codemagic your #widget repository is automatically detected just as any other repositories on your #GitHub or #Bitbucket account. If there are failing tests, you will receive the test report on your email📩#widgettesting
1
2
16 Jan 2019
To test #widgets with @codemagicio , you simply need: * A #Flutter project without #ios and #android folders. * A test folder containing at least one test. #widgettesting #agile #devops
1
3