Software Engineering KB

Home

❯

06 Development Process

❯

01 Testing

❯

01 Concept

❯

Assertions

Assertions

Feb 10, 20261 min read

  • testing
  • assertions

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

  • Equality Assertions
  • Exception Assertions
  • Custom Matchers

Related

  • Test Frameworks (provide assertion APIs)

testing assertions


Graph View

  • Assertions
  • Key Properties
  • Related

Backlinks

  • Unit Testing
  • Test Frameworks

Created with Quartz v4.5.2 © 2026

  • GitHub