Skip to content

Commit df7c9bc

Browse files
moT01zairahira
andauthored
feat(curriculum): add testing lecture videos and questions (freeCodeCamp#59999)
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>
1 parent 313b118 commit df7c9bc

17 files changed

+2024
-134
lines changed

curriculum/challenges/_meta/lecture-understanding-the-different-types-of-testing/meta.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
"id": "67d2ff887d2583a079c02e78",
5555
"title": "What Is Security Testing?"
5656
},
57-
{
58-
"id": "67d2ff93d213d5a0c17ecfa2",
59-
"title": "What Is Accessibility Testing?"
60-
},
6157
{
6258
"id": "67db3238375ff8340ee1ff90",
6359
"title": "What Is A/B Testing?"

curriculum/challenges/english/25-front-end-development/lecture-understanding-the-different-types-of-testing/67d1d844d84c8b540297bbe4.md

Lines changed: 110 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,135 @@
22
id: 67d1d844d84c8b540297bbe4
33
title: What Is the Overall Purpose of Testing Your Applications?
44
challengeType: 11
5-
videoId: nVAaxZ34khk
5+
videoId: 2-xZcGyeJCc
66
dashedName: what-is-the-overall-purpose-of-testing-your-applications
77
---
88

99
# --description--
1010

11-
Watch the video lecture and answer the questions below.
11+
Watch the video or read the transcript and answer the questions below.
12+
13+
# --transcript--
14+
15+
What is the overall purpose of testing your applications?
16+
17+
Up until this point, you have been building tons of small projects in languages like HTML, CSS, JavaScript, and more. But how do you know if your projects are working correctly?
18+
19+
One option is to do what is called manual testing. This is where a tester will go through each part of the application and test out all of the different features to make sure it works correctly. If any bugs are uncovered in the testing process, the tester will report those bugs back to the software team so they can be fixed.
20+
21+
While it is important to manually test out your applications, often times it will not be enough. Real-world applications involve many components and services and can often be complex in nature. So only relying on manual testing will result in many bugs lying beneath the surface that can hurt the usability and maintainability of an application.
22+
23+
This is where automated testing comes in. You can write separate test code to check whether your application behaves as expected, without needing to manually click through it. Both manual and automated tests can be grouped into different types, depending on what they are testing.
24+
25+
Over the next few lectures, we are going to cover the different types of testing used in the industry like unit testing, end-to-end testing, functional testing and more.
26+
27+
Writing tests for your applications will help ensure that your code is doing what it is supposed to be doing. It is important that you start to familiarize yourself with the basics of testing because it will be something that you will need in a developer job.
1228

1329
# --questions--
1430

1531
## --text--
1632

17-
What Is the Overall Purpose of Testing Your Applications? question?
33+
Why is it important to test your applications?
1834

1935
## --answers--
2036

21-
Answer 1
37+
You want to ensure that your applications look professional.
38+
39+
### --feedback--
40+
41+
Think about how your application is expected to work.
42+
43+
---
44+
45+
You want to ensure that your applications work as expected.
2246

2347
---
2448

25-
Answer 2
49+
You want to ensure that your applications are responsive.
50+
51+
### --feedback--
52+
53+
Think about how your application is expected to work.
2654

2755
---
2856

29-
Answer 3
57+
You want to ensure that your applications run slower.
58+
59+
### --feedback--
60+
61+
Think about how your application is expected to work.
62+
63+
## --video-solution--
64+
65+
2
66+
67+
## --text--
68+
69+
What is manual testing?
70+
71+
## --answers--
72+
73+
This involves running security audits on your site to ensure there are no security risks in your application.
74+
75+
### --feedback--
76+
77+
Review the beginning of the lecture where this was mentioned.
78+
79+
---
80+
81+
This involves only testing your JavaScript and CSS files to ensure there are no bugs in them.
82+
83+
### --feedback--
84+
85+
Review the beginning of the lecture where this was mentioned.
86+
87+
---
88+
89+
This involves running accessibility audits with automated tools to check for any accessibility errors.
90+
91+
### --feedback--
92+
93+
Review the beginning of the lecture where this was mentioned.
94+
95+
---
96+
97+
This involves going through your application and making sure all of the features and sections work as expected.
98+
99+
## --video-solution--
100+
101+
4
102+
103+
## --text--
104+
105+
Which of the following is NOT a type of testing used in the industry?
106+
107+
## --answers--
108+
109+
Fisher Yates testing
110+
111+
---
112+
113+
End-to-end testing
114+
115+
### --feedback--
116+
117+
Review the end of the lecture where this was mentioned.
118+
119+
---
120+
121+
Unit testing
122+
123+
### --feedback--
124+
125+
Review the end of the lecture where this was mentioned.
126+
127+
---
128+
129+
Functional testing
130+
131+
### --feedback--
132+
133+
Review the end of the lecture where this was mentioned.
30134

31135
## --video-solution--
32136

0 commit comments

Comments
 (0)