Тёмный
No video :(

How to write Integration Tests in Flutter like no other, using the Robot Pattern 

Runtime Snippets
Подписаться 748
Просмотров 2,8 тыс.
50% 1

In this bite sized tutorial, we will be taking a look at Integration testing in Flutter and how to implement it using the Robot Pattern.
Subscribe for more bite sized tutorials: / @runtimesnippets
Follow us on our socials:
LinkedIn: / runtime-snippets
Twitter: / runtimesnippets
Github: github.com/Cof...
Step by Step Code Along:
github.com/Cof...

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@AbdulBari-jh8lj
@AbdulBari-jh8lj 10 месяцев назад
Simple and to the point demonstration without any time waste, simple awesome. Would love to know if there is any way to achieve native UI communication like allowing notification/location permissions or connect to a WiFi network etc.
@runtimesnippets
@runtimesnippets 10 месяцев назад
Hi there, Thanks for the comment! Would you like to explain more about "native communication for location permissions or connecting to a WiFi network"?
@AbdulBari-jh8lj
@AbdulBari-jh8lj 10 месяцев назад
Native communication like if I have to allow GPS permission and the native iOS or Android GPS permission dialog appears, then how can I provide the permission through the integration test? And same goes for the WiFi network connection, if I want to connect to a Wifi network then how can I connect from the phone settings using the integration test? or is that even possible @@runtimesnippets
@squidwardmoney6492
@squidwardmoney6492 10 месяцев назад
very nice, very nice
@runtimesnippets
@runtimesnippets 10 месяцев назад
Thankyou! If you like the content, please subscribe. It helps us stay motivated and keep pushing out new tutorials.
@carlosalbertobotinacarpio5650
@carlosalbertobotinacarpio5650 7 месяцев назад
awesome
@laugedyret
@laugedyret 4 месяца назад
Thanks for a great video! I find that my tests work when I run them locally, but when I try to get my app approved in the Google Play Console, I can see from the short test videos that their robot can't find my fields for email and password. Have you experienced the same thing?
@runtimesnippets
@runtimesnippets 4 месяца назад
This requires a bit of debugging. For example, which device is the test emulated on? Run the tests on that device locally inside your flutter project and see if it gives the same error. Mostly if the device height is too small, or the content is overflowing, the robot won’t be able to detect those fields. These integration tests are different from the ones that Google runs. But the idea for debugging is the same. Hope it helps!
@laugedyret
@laugedyret 4 месяца назад
@@runtimesnippets Thank you!
@thabasumm1868
@thabasumm1868 6 месяцев назад
What if i have 2 files to execute after login? Can i do simply in one main method by calling the file names and without uninstalling the app after login?
@runtimesnippets
@runtimesnippets 6 месяцев назад
as I understand, you have two files with integration tests, you can both by running "flutter test integration_test" and it will run all the integration tests that are inside the integration_test directory
Далее
O'ZBEK VA TOJIKLAR ROSSIYADA TERAKT UYUSHTIRISHDI!
08:41
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 17 млн
When To Unit, E2E, And Integration Test
14:58
Просмотров 94 тыс.
Unit Test with Mockito in Flutter
11:26
Просмотров 2 тыс.
Unit Tests and Mocking with Flutter
12:29
Просмотров 11 тыс.
Integration Testing with Flutter
10:41
Просмотров 13 тыс.
Most overpowered way to build mobile apps?
8:33
Просмотров 774 тыс.
Become a Flutter Developer! step-by-step guide
4:11
Просмотров 91 тыс.
Should you do Flutter integration test?
11:04
Просмотров 2,2 тыс.
O'ZBEK VA TOJIKLAR ROSSIYADA TERAKT UYUSHTIRISHDI!
08:41