Testing Fundamentals of Flutter
Lesson 24: Running integration tests with flutter_driver
Autoplay
Up next
Previous
About
In this lesson, you will learn how to write integration tests with flutter_driver
Instructor
Links
Comments
Hi Bernat! That's a great question!
flutter_driver can only access Flutter "components", not native components (such as notifications, for example). If you want to test those behaviors, you can always use the native frameworks available for integration tests.
More recently, the Flutter team has released "integrationtest" as well (https://pub.dev/packages/integrationtest); I have not tried this tool personally yet, but it might be worth to look into it and see if it is a bit more flexible.
Lessons in Testing Fundamentals of Flutter
1. Lesson 1: What is the difference between unit testing, widget testing, and integration testing?
02:28
2. Lesson 2: Writing your first unit test

01:58
3. Lesson 3: Running your tests from the terminal

00:39
4. Lesson 4: The structure of a good test

01:31
5. Lesson 5: Using expect() in your tests

00:56
6. Lesson 6: All you need to know about Matchers

Pro
01:28
7. Lesson 7: Grouping your tests using the group() function

Pro
01:14
8. Lesson 8: Testing code that throws an Error or an Exception

Pro
01:23
9. Lesson 9: Sharing code between tests with setUp() and tearDown()

Pro
00:56
10. Lesson 10: Testing Futures

Pro
01:18
11. Lesson 11: Testing Streams

Pro
00:58
12. Lesson 12: Writing your first widget test

Pro
02:12
13. Lesson 13: The difference between pumpWidget(), pump() and pumpAndSettle()

Pro
02:36
14. Lesson 14: Finding a widget in your widget tree using CommonFinders

Pro
00:34
15. Lesson 15: Interacting with your widgets using WidgetTester

Pro
00:53
16. Lesson 16: Verifying your widget tests using a Matcher from flutter_test

Pro
01:08
17. Lesson 17: Testing smaller widgets in isolation

Pro
02:04
18. Lesson 18: Controlling the behavior of your dependencies using mockito

Pro
01:20
19. Lesson 19: Stubbing synchronous methods with mockito

Pro
01:15
20. Lesson 20: Stubbing asynchronous methods using mockito

Pro
02:11
21. Lesson 21: Verifying interactions with mockito

Pro
00:27
22. Lesson 22: Using golden files to verify pixel-perfect widgets

Pro
01:55
23. Lesson 23: Collecting code coverage from your tests

Pro
01:28
24. Lesson 24: Running integration tests with flutter_driver

Pro
04:17
25. Lesson 25: Taking automated screenshots of your application

Pro
01:58
26. Lesson 26: Running your tests on Github Actions

Pro
02:38
27. Lesson 27: Using Codemagic for your CI/CD needs

Pro
01:37

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty