Assertion - CI/CD Glossary Definition
An assertion is a check inside a test that compares an actual value to an expected one and fails the test if they differ, for example assertEqual(actual, expected) or expect(x).toBe(y).
Failure messages
A good assertion produces a diff showing expected vs actual, which is what you read first when a CI job fails. Prefer specific assertions (toEqual) over generic truthiness (assertTrue) for clearer failures.
Related guides
Test Runner - CI/CD Glossary DefinitionTest Runner: A test runner is the tool that discovers test cases, executes them, and reports pass/fail result…
Test Harness - CI/CD Glossary DefinitionTest Harness: A test harness is the surrounding code and configuration that loads the system under test, driv…