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:
https://youtu.be/oiExdWavDtE
Refactoring Our Weather App:
https://youtu.be/timdrtIdLZ4
Adding Error Handling to Our Weather App:
https://youtu.be/4OAAGI10cBo
Download
0 formats
No download links available.
Unit Testing in Dart and Flutter Tutorial || Using Our Dart Weather App | NatokHD