Advanced Software Testing & QA
Q96 / 100

What is "fault injection testing" and how does it differ from simply writing negative test cases?

Correct! Well done.

Incorrect.

The correct answer is A) Fault injection deliberately introduces failures into the running system or its dependencies (e.g. network errors, disk failures) to observe real system behavior, going beyond negative test cases that simply pass invalid inputs to functions

A

Correct Answer

Fault injection deliberately introduces failures into the running system or its dependencies (e.g. network errors, disk failures) to observe real system behavior, going beyond negative test cases that simply pass invalid inputs to functions

Explanation

While negative tests check how code handles bad inputs, fault injection examines how the broader system reacts to environmental failures like timeouts, crashes, or corrupted data, often revealing gaps in error handling and recovery.

Progress
96/100