Which of the following statements is true about test condition?

Explanation: A test condition is simply something that we could test. If we are looking to measure coverage of code decisions (branches), then the test basis would be the code itself, and the list of test conditions would be the decision outcomes (True and False). If we have a requirements specification, the table of contents can be our initial list of test conditions.

  • A. A test case specifies input values and expected results; a test procedure may be derived from requirements or specifications
  • B. A test condition specifies input values and expected results; a test case combines one or more test conditions
  • C. A test case specifies the sequence of execution of test conditions; a test procedure specifies test preconditions and post-conditions
  • D. A test condition may be derived from requirements or specifications; a test procedure specifies the sequence of action for the execution of a test

Answer: Option D