Introduction
Assertions check if something is true in tests. Adding messages helps explain what went wrong if the test fails.
When you want to know why a test failed quickly.
When multiple checks are in one test and you need clear failure reasons.
When sharing tests with others who need clear feedback.
When debugging tests to save time understanding errors.