Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.
Condition coverage Definition: This criterion requires sufficient test cases for each condition in a program decision to take on all possible outcomes at least once. It differs from branch coverage only when multiple conditions must be evaluated to reach a decision.
This criterion requires sufficient test cases for each condition in a program decision to take on all possible outcomes at least once. It differs from branch coverage only when multiple conditions must be evaluated to reach a decision. Condition coverage is a software testing metric that ensures each boolean sub-expression in a decision statement is evaluated as both true and false. This is more thorough than decision coverage but less comprehensive than multiple-condition coverage. Condition coverage is addressed in standards like ISO IEC 29119 and security testing frameworks. Organizations implement condition coverage through test case design, code analysis tools, and test coverage measurement. For example, a security-critical application might require developers to achieve 100 percent condition coverage for all authentication and authorization logic to help identify potential security flaws. Related terms: Code coverage, Decision coverage, Path coverage, Software testing, Test adequacy, Security testing.