161k views
1 vote
Which of the following need to be assessed during unit test?

1) Algorithmic performance.
2) Code stability.
3) Error handling.
4) Execution paths.
5) c and d.

User Stealth
by
8.0k points

1 Answer

6 votes

Final answer:

During a unit test, algorithmic performance, code stability, error handling, and execution paths need to be assessed.

Step-by-step explanation:

The following criteria need to be assessed during a unit test:

  1. Algorithmic performance: This assesses how efficiently the code executes and handles large amounts of data.
  2. Code stability: This evaluates how well the code behaves under different conditions and inputs, checking for any crashes or errors.
  3. Error handling: This measures how well the code deals with unexpected situations and errors, ensuring it can recover gracefully.
  4. Execution paths: This examines different paths the code can take and ensures all possible scenarios are tested.

C and D are not specific criteria. Therefore, the correct options for assessing during a unit test are 1) Algorithmic performance, 2) Code stability, 3) Error handling, and 4) Execution paths.

User Thang Phi
by
8.4k points