Unit Testing - For Beginners in Dart - Setup with Flutter Project

preview_player
Показать описание
Unit Tests are the first and some would argue the most important part of Software Testing. Today we want to understand what a Unit Test is, what do we have to do to create a "good" unit test and last but not least we want to develop our very first Unit Test together.

#FlutterTesting #Testing #UnitTest

Timetable:
00:00 Intro
00:39 What is Unit Testing
01:16 Five Points for a good unit test
05:05 Explain the boilerplate
07:20 Writing first Unit Test
08:59 Testing TimeHelper

⭐️⭐️ Helpful Ressources ⭐️⭐️

Tools we use to grow our YouTube channel
TubeBuddy Review - Manage Your YouTube Channel Easily

Our current YouTube gear

⭐️⭐️ Follow us ⭐️⭐️

⭐️⭐️ Support ⭐️⭐️
If you read this so far, thank you once more. If you like to support me, here are some links that could help me a lot.

Buy me a coffee - You are free to donate me a coffee so I can keep up my work.
Рекомендации по теме
Комментарии
Автор

Very good video, Id appreciate more on testing please. though might not be the hottest type of tutorial. You have great knowledge, and would definitely help lots of developers with more videos on testing!

josecoverlessons
Автор

Thanks a lot. Simple and fast explanation.

rikyriky
Автор

What an amazing tutorial video.
It's very easy to understand and follow.
Thank you so much!

MrRe-sjiv
Автор

Great explaination, couldn't have done it better myself!

RobertBrunhage
Автор

Thanks for the video! Very concise and useful !

_jacobdev
Автор

thank you so much, really nice video, it was my (delayed) first step about tests

thierryp.oliveira
Автор

Thank you for video, I'm junior automate testing flutter :)

อัณณ์พุทธิพรชัย-ถฬ
Автор

i need more videos just like that awsome video sir thanks for understanding

TonyMalik
Автор

Thanks for the example where it was impossible to test and then became possible. I am thinking about TDD after it.. Just don't know how would I knew all the test before the implementation of a big feature for example.

Shakl-e
Автор

One day your channel will be in trending....

codesboyamit
Автор

Really thank you for the video, I appreciate it. Is it okay to add an argument in the unit test?
For example:
group("Plant", () {
test('Get plant', (String plantId) {
final plant =
expect(plant.plantId, plantId);
});
}

Thank you again!

EmiOkInt
Автор

Wow, great insight sir, can you do a fultter_bloc/ cubit unit test with a network api call

youknowme
Автор

Hi, thank you.
I have a question, why doesn`t work to use a variable inside a function in unit testing? It's because DateTime it is another class?

quicksketch
Автор

Thanks for this video brother, Next video in Testing Series.

krishnakumarramachandran
Автор

Which font you are using in android studio as code font?

torukobyte
Автор

Which VSCode theme is this? And thanks for a great video!

edgarsjaudzems
Автор

Best video and very good for beginners. I would even suggest all to watch this video. For professionals or intermediates its very good for refreshing topics.

hemishpancholi
Автор

I applaud not only the incredible way of explaining but also the high level of organization in your code, congratulations.

DanielaEsparza-ykvf
Автор

Great explanation and such simple and precise implementation sir

faizandarwesh
Автор

How to run unit tests with AVD without using integration_test? It is running on Windows platform and how to change that?

DungPham-yejg