curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67eeb0a9bfe9ce2ab1cbffd2.md
Listen to the audio and answer the question below.
What else should Mark have done?
He should have rewritten his entire code.
Mark didn't need to rewrite everything.
He should have tested his code first.
He should have removed all comments.
Comments are useful and should not be removed.
He should have skipped testing because it takes too long.
Testing is an important step before submitting code.
2
A test suite is a collection of tests that check if a program works correctly. For example:
We ran the test suite to check if the app works properly. - The team executed all the tests to ensure the app functions as expected.
We need to add more tests to the test suite to check for edge cases. - The team should include more tests to cover all possible situations.
{
"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": 42.42,
"finishTimestamp": 45.94
}
},
"commands": [
{
"character": "Sophie",
"opacity": 1,
"startTime": 0
},
{
"character": "Sophie",
"startTime": 1,
"finishTime": 4.52,
"dialogue": {
"text": "Great. Also, you should have run the test suite before submitting your code.",
"align": "center"
}
},
{
"character": "Sophie",
"opacity": 0,
"startTime": 5.02
}
]
}