POTD 6: IDM and ISP criteria — GenericStack

Due 28-May-2026, 11:59pm EST

Purpose: Understand and practice ISP coverage criteria

You may make a copy of a worksheet and complete this activity, or simply type your answers in any text editor.

You may work alone or with another student in this course. (work with your team, feel free to make use of any communication channels of your choice).


Task 1: Model input domain (refer to POTD 5: IDM GenericStack)

This is from exercise 6.1, #4 (AO textbook). Derive input space partitioning test inputs for the GenericStack class with the following method signatures:

Assume the usual semantics for the GenericStack. Try to keep your partitioning simple and choose a small number of partitions and blocks.

  1. List all of the input variables, including the state variables
  2. Define characteristics of the input variables. Make sure you cover all input variables
  3. Partition the characteristics into blocks
  4. Define values for each block

Task 2: Choose combinations of values

  1. Apply All Combination Coverage (ACoC)
    • Compute the (maximum) number of tests
    • Derive test requirements
    • Substitute test input values
  2. Apply Each Choice Coverage (ECC)
    • Compute the (maximum) number of tests
    • Derive test requirements
    • Substitute test input values
  3. Apply Pair-Wise Coverage (PWC)
    • Compute the (maximum) number of tests
    • Derive test requirements
    • Substitute test input values
  4. Apply Base Choice Coverage (BCC)
    • Compute the (maximum) number of tests
    • Derive test requirements
    • Substitute test input values
  5. Apply Multiple Base Choice Coverage (MBCC)
    • Compute the (maximum) number of tests
    • Derive test requirements
    • Substitute test input values

Grading rubric

[Total: 10 points]: Done (or provide evidence of your attempt, full or reasonable effort)

(-2.5 points) for 24 hours late (submitted after 28-May-2026 11:59pm EST, by 29-May-2026 11:59pm EST)
(-5 points) for 48 hours late (submitted after 29-May-2026 11:59pm EST, by 30-May-2026 11:59pm EST)


Submission

Making your submission available to instructor and course staff is your responsibility; if we cannot access or open your file, you will not get credit. Be sure to test access to your file before the due date.


Copyright © 2026 Upsorn Praphamontripong
Released under the Creative Commons License CC-BY-NC-SA 4.0 license.
Last updated 2026-05-25 19:38