Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,390 --> 00:00:05,880
In this section we are going to learn about writing tests in flutter and I believe that testing is a
2
00:00:05,880 --> 00:00:11,400
very important topic especially if we want to shape our applications in production.
3
00:00:11,400 --> 00:00:17,490
So before we learn about testing in theater I want to talk briefly about the benefit of writing tests
4
00:00:17,550 --> 00:00:19,720
in general and in my opinion.
5
00:00:19,740 --> 00:00:27,000
The main point of testing is to verify that our code behaves as expected and while we could and should
6
00:00:27,000 --> 00:00:33,840
test our applications manually writing tests gives us much more confidence that our code is correct.
7
00:00:33,840 --> 00:00:39,960
Not only that but we could set up a continuous integration system that runs all the tests every time
8
00:00:39,990 --> 00:00:46,140
we push our code to the main repository and this becomes especially important when working in a team
9
00:00:46,650 --> 00:00:52,240
where it's likely that other developers are working on different areas of the project at the same time.
10
00:00:52,470 --> 00:00:59,070
So adding code that is complete with tests is a good way of ensuring that we can ship robust and maintainable
11
00:00:59,070 --> 00:01:06,210
software on the other hand the costs of not adding tests can add up very quickly as bugs are found and
12
00:01:06,210 --> 00:01:08,430
the product doesn't behave as expected.
13
00:01:08,760 --> 00:01:14,850
And this situation can be particularly severe when users experience problems in production because the
14
00:01:14,850 --> 00:01:21,210
feedback loop of reporting and fixing issues is much longer and costly compared to writing that correct
15
00:01:21,210 --> 00:01:23,100
code in the first place.
16
00:01:23,110 --> 00:01:23,490
OK.
17
00:01:23,580 --> 00:01:28,990
So writing tests is a good idea that can save us a lot of headaches in the future.
18
00:01:29,010 --> 00:01:32,920
On the other hand testing is a topic that can be confusing.
19
00:01:32,940 --> 00:01:39,480
So in this section I will start from the very basics of writing tests in flutter but we will also cover
20
00:01:39,510 --> 00:01:45,600
more advanced testing topics and the great news is that we already have a completed application that
21
00:01:45,600 --> 00:01:52,250
will serve as a great example as we learn how to write tests and because testing is a broad topic.
22
00:01:52,320 --> 00:01:58,650
You can think of this section as a mini course in itself but once again I feel that it is very important
23
00:01:58,650 --> 00:02:04,230
to cover this so that you will have the knowledge that you need to write tests for your flatter ups.
24
00:02:04,580 --> 00:02:06,720
OK so let's continue on the next video.
2910
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.