Assertion - CI/CD Glossary Definition
An assertion checks a condition in a test and fails the test when the condition is not met.
An assertion is a statement in a test that checks a condition and fails the test if the condition is false. Assertions are what turn code execution into a pass or fail result.
A test that runs code but makes no assertions passes trivially and gives false confidence, which mutation testing is designed to expose.
Related guides
Mutation Score - CI/CD Glossary DefinitionMutation Score: A mutation score is the percentage of injected code changes (mutants) that a test suite detec…
Code Coverage - CI/CD Glossary DefinitionCode Coverage: Code coverage measures what fraction of the code was exercised by the test suite, reported as…