Question 560
At fictional Clearbrook Agriculture, the quality team is reviewing a change to its supply ordering system. A build passes unit tests but contains a path where a nullable response is dereferenced without a guard. Which underlying testing concept best explains the appropriate approach?
Explanation
Correct Answer
The underlying testing principle follows from the need to run appropriate static analysis and assess the flagged control-flow path. Observable validation: The possible null dereference is identified without having to trigger a runtime failure. Applied here, the relevant facts are: team is reviewing a change to its supply ordering system. A build passes unit tests but contains a path where a nullable response is dereferenced without a guard. The question asks which underlying testing concept best explains the appropriate approach.
Incorrect Answers
Static testing examines work products without executing the test object; that concerns static versus dynamic testing. In the reported testing situation, the governing principle is: Static analysis can identify code anomalies without executing the program.
Early frequent feedback reduces the cost of propagating misunderstandings; that concerns early feedback value. In the reported testing situation, the governing principle is: Static analysis can identify code anomalies without executing the program.
Psychological safety and constructive communication improve review effectiveness; that concerns constructive review success. In the reported testing situation, the governing principle is: Static analysis can identify code anomalies without executing the program.