Test case examples

  • In a Web application, a test case might be as small as the generation of part of a simple Web page, or it might be as complex as the completion of a set of commercial transactions. <bib>ammann-offutt:2008</bib>
  • In a real-time system such as an avionics application, a test case might be a single frame, or it might be an entire flight. <bib>ammann-offutt:2008</bib>
  • Consider the first example at Test criterion examples. A test set T with 12 beans -- three Lemon, one Pistachio, two Cantaloupe, one Pear, one Tangerine, and four Apricot -- satisfies the "flavor criterion". Notice that it is perfectly acceptable to satisfy a given test requirement with more than one test case.