Flutter TDD & Clean Architecture - Learn By A Project | Full Course for Beginners [Tutorial]

  Рет қаралды 28,351

Flutter Guys

Flutter Guys

Күн бұрын

Пікірлер: 51
@minseokjeong1881
@minseokjeong1881 11 ай бұрын
How concrete example of the build test environment :D. I'm very happy to get priceless information with free. All I can do is just hit the like button and set the alarm :D. THANK YOU FROM BOTTOM OF MY HEARTS ❤
@dev-qq2vy
@dev-qq2vy 8 ай бұрын
Greatest video about clean architect and TDD I ever seen. Thanks.
@weaponx3373
@weaponx3373 3 ай бұрын
thanks for the video!! after watching clean codding video and lil bit of practice , leaning testing was easy. thanks again.
@nabinshrestha2821
@nabinshrestha2821 4 ай бұрын
Love to see the testing environment for the flutter app.. Great work
@salahcheihbi
@salahcheihbi 11 ай бұрын
Good job 👍🏻 We need an explanation for solid principles
@pavelzapletal7942
@pavelzapletal7942 11 ай бұрын
Great video, really useful to see a proper file structure.
@BOSSandCHOCO
@BOSSandCHOCO 5 ай бұрын
Best tdd video ever, thank you so much!
@prodev7961
@prodev7961 11 ай бұрын
Very well explained ! Good job
@magic_majere
@magic_majere 15 күн бұрын
In my opinion the author sometimes do not use TDD approach. For example with BloC. He completes with BloC and THEN he goes to testing. So for me TDD approach its just to avoid writing ALL tests after full feature but instead write tests DURING feature implementing but not BEFORE.
@nurmtv2983
@nurmtv2983 11 ай бұрын
I'm happy you exist!) Your speech, explanations are perfect!!! Keep going, we are waiting for your next videos!❤❤❤
@mohamedkabha1761
@mohamedkabha1761 3 ай бұрын
Great tutorial especially the TDD section, keep going.
@flutterguys
@flutterguys 2 ай бұрын
More to come!
@muhammadaminibrohimov6290
@muhammadaminibrohimov6290 11 ай бұрын
Nice bro keep going don’t stop
@marufhassan634
@marufhassan634 19 күн бұрын
Would love to see a Riverpod version of the same.
@ror123456789ify
@ror123456789ify 5 ай бұрын
Tutorial is great. However I think you should use abstract version of repositories, datasources etc in tests as member types instead of implementations or mocks.
@pravinprince3221
@pravinprince3221 10 ай бұрын
Thank you so much for the wonderful video sir , it is very helpful for me and my team
@s.mohanasundharam3950
@s.mohanasundharam3950 7 ай бұрын
wonderful video i loved if very much this is very straight forward and provide direct what i want to learn. i watched some of your video about bloc. but this is very....... wonderful. testing also so great but i need some video about testing. i feel complex for testing because i am new for it i don't know but every explanation great. please add some real world scenario or real word working process with explanation. at last i wanna say thank you ...... ❤‍🔥❤‍🔥
@flutterguys
@flutterguys 7 ай бұрын
❤️✌️
@bc9585
@bc9585 6 ай бұрын
Awesome content thanks for your contribution to community 🥳❤️
@flutterguys
@flutterguys 6 ай бұрын
You are so welcome
@amirtorabi6302
@amirtorabi6302 11 ай бұрын
Thanks for share❤❤❤
@khantwin04
@khantwin04 10 ай бұрын
Love it!🤟💯
@justanaveragebalkan
@justanaveragebalkan 5 ай бұрын
I really don't get when people do this, the project structure is solid, and to my surprise it actually follows the clean architecture design however, it's nonsense at the same time. The idea with going for something like Clean Architecture is to have reusable code, that can be shared between multiple solutions the whole paradigm with inward dependencies is that nothing should depend on an upper layer and each layer should be able to function independently, Having all the layers in a single solution breaks that rule and makes everything in the architecture completely invalidated, for example if i have two apps that do the same thing for example TV app, and a Mobile app, with your abstraction of the CA i will have to go ahead and duplicate my entire codebase. Having the Infrastructure, Domain, Application and i usually add myself to flutter (Components, Shared) to handle dependency injections as there is little to no reason why not to abstract these as separate packages that can be connected either as sub-modules or regular packages to the main solution. This allows for a fluent and easy implementation of the architecture allowing for 90% of the code to be shared across both the mobile and TV application for example. Honestly, i give you props for trying to make an educational video on the matter, but sometimes we must be careful when showing stuff that are hard to understand because a lot of people will take the content of this video literally without even considering why and where we implement architectures, most likely will start doing it all over the place and then they end up with overly complicated calculator and a question of "Why they reject me at every company that i get an interview at".
@flutterguys
@flutterguys 5 ай бұрын
Honestly, I really appreciated your comment. One thing is to produce content, which we try to do in a qualitative way, however, not everything can be shared in the same content and I admit that the concept also goes beyond the creation of files. One of the main reasons why we have also been doing live sessions with other colleagues recently, it is also a place to share and go into a lot more detail. Thank you and feel free to join us on telegram. We will be happy to see you share your experience, especially with TV.
@b_b.podcast
@b_b.podcast 3 ай бұрын
Awesome content thanks
@JayeshLathiya77
@JayeshLathiya77 11 ай бұрын
Thank you for this great tutorial
@arunchapagai1139
@arunchapagai1139 7 ай бұрын
Why test is failing when implementing await keyword in the act phase in the ServerException?
@aungzawphyo2758
@aungzawphyo2758 Ай бұрын
Hello Sir, I am beginner. I am practicing it with a project. In login part, I put token storing code using shared preferences in bloc. And then bloc test is not working correctly because of token storing asyn code. So, how should I do, Sir? Please give ma advice.
@oleksandrkostu4ok
@oleksandrkostu4ok 11 ай бұрын
Great job thank you so much)
@kingisback4005
@kingisback4005 11 ай бұрын
I have an doubt,all api call in current feature come in remote data source implementation,or we need to create separate file under data source in data layer?
@thetraveller3840
@thetraveller3840 9 ай бұрын
Hello, if I use RiverPod, what changes in the architecture?
@khushalrao148
@khushalrao148 8 ай бұрын
At 33:05 remove the await on line 62
@arunchapagai1139
@arunchapagai1139 7 ай бұрын
why we are removing await keyword? If removed, it only get instance of Future which is not actually a exception.
@gggg-no6rm
@gggg-no6rm 10 ай бұрын
The helper mock file not readable
@oaiwjebdlla
@oaiwjebdlla 2 ай бұрын
Hi, is Dartz a substitute for DataState from the previous video on CA? Thanks
@flutterguys
@flutterguys 2 ай бұрын
Yes
@user-bv6vs2hj4j
@user-bv6vs2hj4j 11 ай бұрын
Please make a integration testing in flutter with login and register
@redjohn4626
@redjohn4626 10 ай бұрын
awrsome
@khushalrao148
@khushalrao148 8 ай бұрын
At 58:13 use the whenListen provided by bloc_test whenListen( mockWetherBloc, Stream.fromIterable( [ WetherEmpty(), WetherLoading(), ], ), initialState: WetherEmpty(), );
@arunchapagai1139
@arunchapagai1139 7 ай бұрын
also for loading i encountered exception. can you help?
@ganeshprasadrao5596
@ganeshprasadrao5596 11 ай бұрын
please tell me this, is that your original voice or ai generated ?
@standa-yt
@standa-yt 11 ай бұрын
Must be AI no way human sounds like that. The content is good anyway and the voice is just little bit annoying
@flutterdelux
@flutterdelux 11 ай бұрын
hello sir, i get exception when running last test widget. description: error: should show widget contain weather data when state is weather loaded ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following assertion was thrown running a test: A Timer is still pending even after the widget tree was disposed. 'package:flutter_test/src/binding.dart': Failed assertion: line 1498 pos 12: '!timersPending' ... could you help me, what should i do or where my mistake? i have check code that same in the video. thank you
@flutterdelux
@flutterdelux 11 ай бұрын
then I tried to clone your project on github. when I run the test, it show the same error as my project
@amoka_s
@amoka_s 11 ай бұрын
Found solution. Try to add after pumpWidget following line: await widgetTester.pumpAndSettle(const Duration(milliseconds: 500)); So it will be like this: await widgetTester.pumpWidget(_makeTestableWidget(const WeatherPage())); await widgetTester.pumpAndSettle(const Duration(milliseconds: 500));
@flutterdelux
@flutterdelux 11 ай бұрын
@@amoka_s thank you, i also find this solution at stackoverflow. but it's also work without param (use default duration). await widgetTester.pumpAndSettle();
@ror123456789ify
@ror123456789ify 5 ай бұрын
it started to work when I changed mockito to mocktail as a when() method provider
@kiwikemist
@kiwikemist 6 ай бұрын
AI voice? Instantly put me off. Do better.
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
SCHOOLBOY. Последняя часть🤓
00:15
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 12 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 32 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 6 МЛН
Flutter Clean Architecture Visual Explanation
6:15
Flutter Mapp
Рет қаралды 27 М.
Flutter Basics by a REAL Project
25:42
Flutter Guys
Рет қаралды 453 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,6 МЛН
Flutter Testing For Beginners - The Ultimate Guide
13:05
Robert Brunhage
Рет қаралды 59 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
Flutter Testing Guide for Beginners - Part 1: Unit Tests & Setup
1:00:28
when foldable cellphones follow the trend#shorts
0:11
amazing populer
Рет қаралды 13 МЛН
POV: You Find a 🗑️ Full of iPhones ⭐
0:13
Shakeuptech
Рет қаралды 1,4 МЛН
🔥НОВАЯ БАТАРЕЯ?😮
0:40
Demin's Lounge
Рет қаралды 203 М.
Low Battery 🪫
0:10
dednahype
Рет қаралды 897 М.
Новая функция в Xiaomi! Apple скопирует?
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 1,3 МЛН
Самый дорогой телефон 2000х
0:54
МАДНЕСС
Рет қаралды 1,7 МЛН
Сделал из зарядного устройства нечто!
0:48