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).
This is from exercise 6.1, #4 (AO textbook).
Derive input space partitioning test inputs for the GenericStack class
with the following method signatures:
public GenericStack ();
public void push (Object X);
public Object pop ();
public boolean isEmpty ();
Assume the usual semantics for the GenericStack.
Try to keep your partitioning simple and choose a small number of partitions and blocks.
- List all of the input variables, including the state variables
- Define characteristics of the input variables. Make sure you cover all input variables
- Partition the characteristics into blocks
- Define values for each block
Task 2: Choose combinations of values
- Apply All Combination Coverage (ACoC)
- Compute the (maximum) number of tests
- Derive test requirements
- Substitute test input values
- Apply Each Choice Coverage (ECC)
- Compute the (maximum) number of tests
- Derive test requirements
- Substitute test input values
- Apply Pair-Wise Coverage (PWC)
- Compute the (maximum) number of tests
- Derive test requirements
- Substitute test input values
- Apply Base Choice Coverage (BCC)
- Compute the (maximum) number of tests
- Derive test requirements
- Substitute test input values
- 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)
- (5 points) — Providing evidence of your attempt, minimal 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
- You may do one of the following:
- take picture(s) of your POTD, or
- save your report as a .pdf file — No Word document.
- Upload all files to POTD 6 on Gradescope.
- Make sure you connect your partner to your group on Gradescope so that everyone receives credit
- Each team submits only one copy
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.