Back to Freecodecamp

Task 63

curriculum/challenges/english/blocks/learn-how-to-offer-technical-support-and-guidance/662351c28974b0faad8607be.md

latest2.0 KB
Original Source
<!-- (Audio) Brian: Right. When you start testing, write test cases for the modified function. It'll ensure that your changes don't break anything else. -->

--description--

Listen to the audio and answer the question.

--questions--

--text--

What is Brian advising Sophie to do when testing her code changes?

--answers--

To avoid testing as it might be too time-consuming

--feedback--

Brian emphasizes the importance of testing, not avoiding it.


To write test cases for the modified function to ensure it doesn't cause problems


To only test the original parts of the code

--feedback--

Brian's advice is specifically about testing the modified function.


To manually check each part of the system

--feedback--

Brian suggests writing test cases, not necessarily manually checking each part.

--video-solution--

2

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Brian",
        "position": {
          "x": 50,
          "y": 15,
          "z": 1.2
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "9.1-3.mp3",
      "startTime": 1,
      "startTimestamp": 39.76,
      "finishTimestamp": 46.64
    }
  },
  "commands": [
    {
      "character": "Brian",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Brian",
      "startTime": 1,
      "finishTime": 2.78,
      "dialogue": {
        "text": "Right. When you start testing,",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "startTime": 2.96,
      "finishTime": 5.18,
      "dialogue": {
        "text": "write test cases for the modified function.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "startTime": 5.5,
      "finishTime": 7.88,
      "dialogue": {
        "text": "It'll ensure that your changes don't break anything else.",
        "align": "center"
      }
    },
    {
      "character": "Brian",
      "opacity": 0,
      "startTime": 8.38
    }
  ]
}