ะขั‘ะผะฝั‹ะน

Flutter Testing For Beginners - The Ultimate Guide 

Robert Brunhage
ะŸะพะดะฟะธัะฐั‚ัŒัั 47 ั‚ั‹ั.
ะŸั€ะพัะผะพั‚ั€ะพะฒ 59 ั‚ั‹ั.
50% 1

Testing is hard to get into in the beginning. So by starting small we will learn all the basics to get started with testing in Flutter!
Course to build a production-ready app ๐Ÿ‘‰ robertbrunhage.com/course
0:00 Overview
0:27 Unit testing
3:13 Mocks
4:35 Widget Testing
8:04 Integration Testing
Riverpod: โ€ข State Management Like ...
Source code: github.com/RobertBrunhage/flu...
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
โ–บ All my content is 100% free. I am a strong believer that free education should be available for everyone. Any support is truly appreciated so I can keep making the content completely free.
โ™ฅ Become a Patreon supporter: / robertbrunhage
โ™ฅ Subscribe: bit.ly/2SUyRhx
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
โ— Website: robertbrunhage.com/
โ— Twitter: / robertbrunhage
โ— Discord: / discord
โ— Instagram: / robertbrunhagedev
โ— Facebook: bit.ly/RobertDev

ะžะฟัƒะฑะปะธะบะพะฒะฐะฝะพ:

 

31 ะธัŽะป 2024

ะŸะพะดะตะปะธั‚ัŒัั:

ะกัั‹ะปะบะฐ:

ะกะบะฐั‡ะฐั‚ัŒ:

ะ“ะพั‚ะพะฒะธะผ ััั‹ะปะบัƒ...

ะ”ะพะฑะฐะฒะธั‚ัŒ ะฒ:

ะœะพะน ะฟะปะตะนะปะธัั‚
ะŸะพัะผะพั‚ั€ะตั‚ัŒ ะฟะพะทะถะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ : 65   
@umeshshrestha7851
@umeshshrestha7851 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Please remove the white animation lines, it's hard to focus when it's popping on the screen. But the content is great.
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks for the feedback, it's gone in the newer videos!
@anoniem012
@anoniem012 ะ“ะพะด ะฝะฐะทะฐะด
So short clean and understandable explained, thank you
@MrJohn360
@MrJohn360 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Hey Robert, great content thanks for sharing!
@andenetalexander5244
@andenetalexander5244 3 ะณะพะดะฐ ะฝะฐะทะฐะด
You made testing easy! I thought testing as a very complicated thing to get to. Thanks Robert!
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Glad it was helpful!
@dhayanandhanraju5217
@dhayanandhanraju5217 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thank you. Amazing explanation
@mruduladdipalli5417
@mruduladdipalli5417 2 ะณะพะดะฐ ะฝะฐะทะฐะด
One of the best video for Flutter Testing
@toonkinga284
@toonkinga284 3 ะณะพะดะฐ ะฝะฐะทะฐะด
I m very beginner to flutter testing. I thing I got something from this video. thank you very much ๐Ÿ‘๐Ÿปโค
@Cestpasfaux-
@Cestpasfaux- 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Awesome content, Thanks !
@gaetankuadiamona3919
@gaetankuadiamona3919 3 ะณะพะดะฐ ะฝะฐะทะฐะด
good video with an easy explanation so thanks a lot
@MrVipulLal
@MrVipulLal ะ“ะพะด ะฝะฐะทะฐะด
Great video. Thanks
@johncerpa3782
@johncerpa3782 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Great video!
@nash9785
@nash9785 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Iโ€™ve been waiting for a video like this for a while. Time to spam my teammates ๐Ÿ˜Š๐Ÿ˜
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Haha you are doing the right call ๐Ÿ˜‚
@gaepopodong
@gaepopodong 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Wow! I love it
@DominikRoszkowski
@DominikRoszkowski 3 ะณะพะดะฐ ะฝะฐะทะฐะด
As always great video!
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks Dominik, highly appreciated!
@Pedro5antos_
@Pedro5antos_ 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks!
@hectorprx
@hectorprx 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Nicely done, Thanks
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Happy you liked it!
@i.k.shaikh3772
@i.k.shaikh3772 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Excellent Demonstration
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Glad it was helpful!
@advAnand8008
@advAnand8008 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks a lot
@tadaspetra
@tadaspetra 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Very nice and simple explanation ๐Ÿ‘
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks Tadas!
@arsarsars1able
@arsarsars1able 3 ะณะพะดะฐ ะฝะฐะทะฐะด
awesome ๐Ÿ‘Œ
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks, glad you liked it!
@norbyzockt9902
@norbyzockt9902 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Cam you show how to use flutter driver with chrome and see the testing?
@TheEkkas
@TheEkkas ะ“ะพะด ะฝะฐะทะฐะด
Cool dude
@ShawnBlais
@ShawnBlais 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Great video! btw: `driver?.close();` saves a cpl lines
@vinaybakle6443
@vinaybakle6443 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Can we do api integration testing?
@parasarora4711
@parasarora4711 3 ะณะพะดะฐ ะฝะฐะทะฐะด
hey, I am getting this error every time I run command for testing. { Could not find a file named "pubspec.yaml" in "/home/paras/.pub-cache/hosted/@t Pls help me out. the path is correct that's confirmed, getting the same error on all integration test repos
@MarkDeibert
@MarkDeibert 3 ะณะพะดะฐ ะฝะฐะทะฐะด
What is color theme you're using. Looks great! Oh and the content is excellent my friend. I've watched more than several of your Flutter videos. All good!
@reinhart1010
@reinhart1010 9 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
Sounds like One Dark, originally from the Atom code editor
@CharlesSteinmetz1
@CharlesSteinmetz1 3 ะณะพะดะฐ ะฝะฐะทะฐะด
great video, thank you! have you ever done tests with google maps widget?
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks and sadly I have not...
@gaxkiller
@gaxkiller ะ“ะพะด ะฝะฐะทะฐะด
I watched the video in 2X then come back in 1X just for fun >
@lekahuna
@lekahuna 3 ะณะพะดะฐ ะฝะฐะทะฐะด
3:50 "We can't instanciate the dependency right in the method, because then we don't have any external way of mocking that dependency" Is it good practice to change code (like extracting the instanciation out of the method) only for testing? Thanks for the great video!
@drgabbo1025
@drgabbo1025 2 ะณะพะดะฐ ะฝะฐะทะฐะด
You should do it not only because of testing, it's a bad practice, if you're instantiating dependencies in the method, your class is gonna be coupled to the other, read about dependency inversion
@asjadsidd
@asjadsidd 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Awesome Video, How did you get the != sign to look like that in VS code ? In 10:42 ?
@CharlesSteinmetz1
@CharlesSteinmetz1 3 ะณะพะดะฐ ะฝะฐะทะฐะด
it is the font Fira Code. Follow these steps to install it medium.com/@samichkhachkhi/fira-code-monospaced-font-with-programming-ligatures-1cfcc829d692
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
I actually use the jetbrains mono font www.jetbrains.com/lp/mono/ but anything works as long as it supports ligatures!
@davidpanic
@davidpanic 3 ะณะพะดะฐ ะฝะฐะทะฐะด
I prefer fira code as well. Check it out, it includes tons of common programming ligatures.
@IllllIIllllI
@IllllIIllllI 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Jetbrains mono gang!!
@jimaustin3608
@jimaustin3608 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Looks like these testing process are based on the VS code IDE, and thus not applicable to Android Studio. Am I wrong/missing something?
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
No these are based on Flutter so you can even run it from the terminal with "flutter test"
@jimaustin3608
@jimaustin3608 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Thanks .. will work with video some more.
@anoniem012
@anoniem012 ะ“ะพะด ะฝะฐะทะฐะด
How do you have that is not equal sign?
@anoniem012
@anoniem012 ะ“ะพะด ะฝะฐะทะฐะด
Ah jetbrains mono font
@YolunSonu1
@YolunSonu1 2 ะณะพะดะฐ ะฝะฐะทะฐะด
I have searched on the web, but I could not find a satisfying answer to my question. Why do I need to make a unit test instead of running the code directly in debug mode and printing the required values to the console?
@YolunSonu1
@YolunSonu1 2 ะณะพะดะฐ ะฝะฐะทะฐะด
@Anton. thank you. That will help for sure
@faheemahmadofficial7701
@faheemahmadofficial7701 3 ะณะพะดะฐ ะฝะฐะทะฐะด
please teach us flutter from start and easie rway
@darshanrander1950
@darshanrander1950 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Mockito should be a dev dependency if I'm not wrong ๐Ÿค”๐Ÿค”
@pjpodx
@pjpodx 3 ะณะพะดะฐ ะฝะฐะทะฐะด
is there BDD framework for Flutter already ?
@RobertBrunhage
@RobertBrunhage 3 ะณะพะดะฐ ะฝะฐะทะฐะด
I am not sure, have not taken a look
@egyleader
@egyleader 3 ะณะพะดะฐ ะฝะฐะทะฐะด
I just realized I am old because I am older thank 24 ๐Ÿ˜ ! . . . . . . Kidding ๐Ÿ˜‚ ,, thanks man
@justytutka
@justytutka 3 ะณะพะดะฐ ะฝะฐะทะฐะด
Hello :) When i'm trying to run test, I get error; Could not find a running Flutter app that was instrumented with enableFlutterDriverExtension. Run your instrumented app before running driver tests. Google can't help :( Maybe you will know what's reason of this error?
@emirhan2070
@emirhan2070 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Your voice just like the guy who owner of Flutter Mapp YT channel.
@anonymousone4824
@anonymousone4824 2 ะณะพะดะฐ ะฝะฐะทะฐะด
This is hard ๐Ÿ’€
@YuvrajSingh-dt7vr
@YuvrajSingh-dt7vr 3 ะณะพะดะฐ ะฝะฐะทะฐะด
go go fira code
@BotaParaFlutter.-ll7co
@BotaParaFlutter.-ll7co ะ“ะพะด ะฝะฐะทะฐะด
I havenยดt been creating apps for two decades,more or less,Iยดm PL/SQL programmer.But unit tests seems to be a really stupid Idea(change my mind),probably not useless,I mean for devices that work withouth human interaction like a mixer or a microwave woven.But E2E testing tests both the whole application and the code,they can be written by a QA and run totally isoalted from the system.At least in Brazil QAยดs are less expensive than programmers.Unit tests does not seem so "agile",the concept of TDD is even worse itself.Do unit tests increase the size of the applicattion that I will distribute in the Android store,or theyยดre tree shaked out at least.I think they really slow down programming for what they do,as I said Iยดm not against testing ,i just think the testing budget should bne directioned for things like E2E,smoke,Happy path and gorila testing,wich are probably more effective and easy to automate.In 2022 Several big companies in Brazil had problems in production even havin teh so called 100% code coverage,from Banks to big E-Commerce stores.
@sezzed5663
@sezzed5663 2 ะณะพะดะฐ ะฝะฐะทะฐะด
Hey we are here to learn, if we want to watch fast videos we would go to TikTok, what's up with all the cuttings and fast forwardings?
@tanzeelhassan2934
@tanzeelhassan2934 2 ะณะพะดะฐ ะฝะฐะทะฐะด
I am sure you have no idea what kind of hardwork goes into making this type of content. If you want to give content creators suggestions, you might need to learn the way to do that.
@KommissarKong
@KommissarKong ะ“ะพะด ะฝะฐะทะฐะด
Are you sure?
ะ”ะฐะปะตะต
Flutter Folder Structure and Packages
8:03
ะŸั€ะพัะผะพั‚ั€ะพะฒ 40 ั‚ั‹ั.
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
ะŸั€ะพัะผะพั‚ั€ะพะฒ 61 ั‚ั‹ั.
Meninas na academia
00:11
ะŸั€ะพัะผะพั‚ั€ะพะฒ 1,9 ะผะปะฝ
Best exercises to lose weight ! ๐Ÿ˜ฑ
00:19
ะŸั€ะพัะผะพั‚ั€ะพะฒ 11 ะผะปะฝ
Unit Test with Mockito in Flutter
11:26
ะŸั€ะพัะผะพั‚ั€ะพะฒ 1,3 ั‚ั‹ั.
Automate your Testing on Devices with Flutter Integration Testing
20:33
ะŸั€ะพัะผะพั‚ั€ะพะฒ 47 ั‚ั‹ั.
Flutter Unit Testing Tutorial For Beginners - Practical Guide
1:06:54
ะŸั€ะพัะผะพั‚ั€ะพะฒ 32 ั‚ั‹ั.
Unit Testing - For Beginners in Dart - Setup with Flutter Project
15:02
ะŸั€ะพัะผะพั‚ั€ะพะฒ 24 ั‚ั‹ั.
10 Flutter Tips to Be More Productive
13:25
ะŸั€ะพัะผะพั‚ั€ะพะฒ 65 ั‚ั‹ั.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
ะŸั€ะพัะผะพั‚ั€ะพะฒ 625 ั‚ั‹ั.
Flutter Unit Testing Explained | Testing Series Codepur.dev
21:44
ะŸั€ะพัะผะพั‚ั€ะพะฒ 27 ั‚ั‹ั.
Learn Flutter Life Cycle In 10 Minutes
10:02
ะŸั€ะพัะผะพั‚ั€ะพะฒ 73 ั‚ั‹ั.
7. Best Practices for your Flutter Project
14:35
ะŸั€ะพัะผะพั‚ั€ะพะฒ 28 ั‚ั‹ั.
Top 16 Dart Tips and Tricks Every Flutter Developer Should Know
11:44
ะŸั€ะพัะผะพั‚ั€ะพะฒ 59 ั‚ั‹ั.
Meninas na academia
00:11
ะŸั€ะพัะผะพั‚ั€ะพะฒ 1,9 ะผะปะฝ