All language subtitles for 003 Understanding Different Kinds Of Tests_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Now, when we speak about automated testing,

it is important to understand that there are different kinds

of automated tests which you can have a look at.

For example, there are unit tests and I can already say

that those will be super important.

But you also have so-called integration tests

and end to end tests.

Now, these are the three main categories of tests

which you can write.

Unit tests are all about writing tests

for the smallest possible units off your application.

So for functions, individual functions that you use

in your application.

Or in case of React apps,

testing some components independently

from the other components in your app.

And therefore projects typically contain a lot

of unit tests, since you basically wanna test

all the units, all the functions and components

that make up your application.

And hence this is the most common

and important kind of test.

And the idea simply is that

if you test all the individual units on themselves,

the overall application will also work.

But to verify that the overall application really works

if you put together all those units,

we have integration tests.

Here, we test the combination of multiple building blocks.

For example, multiple components working together.

And projects typically contain

a couple of such integration tests,

but not as many as you have unit tests.

Though as you will also see throughout this course section,

it's not always that easy to differentiate

between unit and integration tests when testing React apps,

since very often, you wanna test a component

that also uses some other component.

But we're going to see that in action

throughout this course section.

So generally, integration tests are also extremely important

but we have fewer integration tests than we have unit tests.

And then we also have end to end tests.

These are all about testing entire workflows

in your application, you could say.

Entire scenarios, like logging a user in

and then going to a certain page.

So these aim to really reproduce what a real human would do

with your website.

Basically what you would also do with manual testing,

just automated.

Now, whilst this might sound like the most important test

it definitely is important

and you therefore typically do write some end to end tests

but not as many as you have unit and integration tests,

because if your a unit and integration tests work,

you can be pretty sure that your overall application works.

And then those unit and integration tests

are simply easier to test.

They often are quicker to run and they are more focused

and it's way easier to test all possible scenarios,

if you test all your units for different scenarios

then coming up with all possible scenarios,

if you look at your app as a whole,

which is what you do typically with end to end tests.

So these are important,

but it's basically all to what you do manually

and therefore you have fewer of those tests.

Now in this course section, since it's an introduction

to testing.

We will focus on those most important kinds

of tests.

Unit tests and also to some extent integration tests.

But at the end of the module, I will also point you

at some other resources, which you can check out

to dive deeper into React testing if you want to.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.