Want to make code that is easier to maintain and harder to break? Want to write more robust programs that won't break when you do your frenzied Friday night push to production? One of the secrets to such a thing is understand the glory of the Unit Test.
In this video we take the weather application we've been working on in the past several videos and apply the concept of Unit Testing! Learn what it is, how it works, and how you can enable it in your application.
Chapters:
00:00 - Introduction and User Testing
00:41 - Unit Test Definition
00:56 - Component Test Definition
01:20 - End to End Test Definition
01:58 - Unit Testing in Dart & Flutter
02:10 - Installing the Dart Test Package
03:34 - Project Structure for Testing
04:28 - How Do Tests Work?
06:29 - Adding Tests to Our Weather App
08:38 - Adding Tests for the Validate Zip Code Function
10:13 - Adding Tests for the getDayOfWeekName Function
11:15 - Review of Material
Previous Videos You May Want to See:
Building a Weather App:
• Building a Weather App in Dart || Lea...
Refactoring Our Weather App:
• Building a Weather App in Dart || Ref...
Adding Error Handling to Our Weather App:
• Dart & Flutter: Error Handling for Be...
Watch video Unit Testing in Dart and Flutter Tutorial || Using Our Dart Weather App online without registration, duration hours minute second in high quality. This video was added by user FlutterED - Learn Flutter and Dart 17 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 168 once and liked it 4 people.