Skip to content
Latchkey

Assertion - CI/CD Glossary Definition

An assertion is a statement in a test that checks a condition and fails the test if it is false, for example assertEquals(expected, actual).

Why it matters

A test that runs code but asserts nothing can pass while proving nothing; the assertion is what turns execution into verification.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →