In a typical defect lifecycle, what is the correct next status after a defect is marked as Fixed by the developer?
Think about who verifies the fix after the developer marks it as fixed.
After a defect is fixed by the developer, it moves to the Retest status where the tester verifies the fix.
Which status indicates that a defect is completely resolved and no further action is needed?
This status means the defect is done and verified.
Closed means the defect has been fixed, retested, and confirmed resolved.
Consider this Python code simulating defect status changes. What is the final status printed?
defect_status = 'New' transitions = { 'New': 'Assigned', 'Assigned': 'Fixed', 'Fixed': 'Retest', 'Retest': 'Closed' } for _ in range(4): defect_status = transitions.get(defect_status, defect_status) print(defect_status)
Follow the status changes step by step.
The status changes as New → Assigned → Fixed → Retest → Closed after 4 transitions.
Which assertion correctly checks that a defect status is valid from the allowed set?
Check if the status is one of the allowed strings.
Option A correctly asserts the status is in the list. Others compare incorrectly or negate the condition.
Find the error in this Python code simulating defect status transitions and select the option that describes the error.
defect_status = 'New' transitions = { 'New': 'Assigned', 'Assigned': 'Fixed', 'Fixed': 'Retest', 'Retest': 'Closed' } for i in range(5): defect_status = transitions[defect_status] print(defect_status)
Check what happens when the loop tries to access a key not in the dictionary.
After 4 iterations, defect_status becomes 'Closed'. On 5th iteration, transitions['Closed'] causes KeyError.