Assertions
← Back to Unit Testing
Statements that verify expected outcomes. Equality, truthiness, exceptions, approximate values. Good assertions produce clear failure messages that immediately indicate what went wrong and why.
Key Properties
Related
- Test Frameworks (provide assertion APIs)