ExamGecko
Home Home / Scrum / PSD
Question list
Search
Search

Question 98 - PSD discussion

Report
Export

You are asked to refactor part of the codebase for an application. When you are done, all unit tests pass with 50% code coverage. What can you infer from this?

A.
Less than 50% of the application is working correctly
Answers
A.
Less than 50% of the application is working correctly
B.
There are no bugs in the application
Answers
B.
There are no bugs in the application
C.
At least 50% of the application is working correctly
Answers
C.
At least 50% of the application is working correctly
D.
You did not break any of the unit tests that already existed
Answers
D.
You did not break any of the unit tests that already existed
Suggested answer: D

Explanation:

You can't really say anything because you don't know what the unit tests are testing and whether they are correctly representing whether the application is working correctly. However, if all the tests passes you didn't break any already existing tests. Also, if none tests existed yet, you did not break them.

asked 23/09/2024
Tebogo Maphafo
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first