curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67ef94ffb948dd097064161b.md
Listen to the audio and answer the question below.
Why is running tests considered to be a good practice?
It makes the code shorter.
Running tests doesn't change the length of the code.
It replaces the need for debugging.
Running tests doesn't debug.
It helps catch errors.
It makes the code run faster.
Running tests doesn't improve performance directly.
3
Sophie says that running tests is a good practice because it helps avoid mistakes. This means it helps developers catch errors early before the code is released.
Running tests can show if something is wrong in the code, even if everything looks fine at first. It's an important part of writing high-quality software.
{
"setup": {
"background": "company2-center.png",
"characters": [
{
"character": "Sophie",
"position": {
"x": 50,
"y": 0,
"z": 1.4
},
"opacity": 0
}
],
"audio": {
"filename": "B1_17-1.mp3",
"startTime": 1,
"startTimestamp": 58.22,
"finishTimestamp": 61.12
}
},
"commands": [
{
"character": "Sophie",
"opacity": 1,
"startTime": 0
},
{
"character": "Sophie",
"startTime": 1,
"finishTime": 3.9,
"dialogue": {
"text": "Absolutely. It's a good practice and it helps avoid mistakes.",
"align": "center"
}
},
{
"character": "Sophie",
"opacity": 0,
"startTime": 4.4
}
]
}