Рет қаралды 26,307
Unit Testing with Mockito in Flutter
A couple videos ago we gave a short intro to Unit Testing. However it was missing a really big part! You can't do much Unit Testing without being able to Mock! In this example we will mock firebase auth, which enables us to run tests for all the login functions.
Widget Testing: • Widget Testing with Fl...
Integration Testing: • Integration Testing wi...
Link to the Code: github.com/tad...
Connect With Me
✦ My Website: [tadaspetra.com/](tadaspetra.com/#/)
✦ Live Coding: [ / tadaspetra ]( / tadaspetra )
✦ Twitter: [ / tadaspetra ]( / tadaspetra )
✦ Chat on Discord: [ / discord ]( / discord )
✦ Instagram: [ / tadaspetra ]( / tadaspetra )
I also do lots of Investing
✦ FREE stock: [join.robinhood...](join.robinhood...)
My Top 5 Books:
✦ Brave New World - Aldous Huxley: [amzn.to/2JyaK96](amzn.to/2JyaK96)
✦ 1984 - George Orwell: [amzn.to/3lmLzUk](amzn.to/3lmLzUk)
✦ The Millionaire Fastlane - MJ Demarco: [amzn.to/2ViGthn](amzn.to/2ViGthn)
✦ The 4-Hour Workweek - Timothy Ferriss: [amzn.to/3mnypYD](amzn.to/3mnypYD)
✦ Homo Deus - Yuval Noah Harari: [amzn.to/2VlFRYe](amzn.to/2VlFRYe)
KZfaq Gear
✦ MacBook Pro 16 inch: [amzn.to/3qe4MeF](amzn.to/3qe4MeF)
✦ MX Master 3 Mouse: [amzn.to/2VlkZQS](amzn.to/2VlkZQS)
✦ Canon Rebel SL3: [amzn.to/2ViIfPv](amzn.to/2ViIfPv)
✦ Hiearcool USB Hub: [amzn.to/3llsIsP](amzn.to/3llsIsP)
✦ iPad Pro 12.9 (3rd Generation): [amzn.to/36kaVy0](amzn.to/36kaVy0)
✦ Apple Pencil (2nd Generation): [amzn.to/2JoHy4y](amzn.to/2JoHy4y)
✦ Yeti Microphone: [amzn.to/37oRNOq](amzn.to/37oRNOq)
✦ Rode Boom Arm: [amzn.to/3lnEKCb](amzn.to/3lnEKCb)
✦ Blue Radius II Shock Mount: [amzn.to/2JoIfea](amzn.to/2JoIfea)
✦ Blue RPop Filter: [amzn.to/39rQSiZ](amzn.to/39rQSiZ)
✦ Sony WH1000XM3: [amzn.to/3moWgHh](amzn.to/3moWgHh)
Thank you for watching!
#unittesting #fluttertesting #testing