volume_mute
Automated Test Assertion Outcome
publish date: 2026/06/17 05:25:31.486006 UTC
volume_mute
In an automated unit test, what happens when the assertion evaluates to false?
Correct Answer
The test has failed, indicating the actual result did not match the expected result
Explanation
In an automated test, the assertion compares the result of the call with the expected result. If the assertion evaluates to true, the test is successful. If it evaluates to false, the test has failed - meaning the actual output did not match what was expected.
Reference
Software Engineering, Ian Sommerville, 10th edition
