Question
In JUnit ONLY . You must generate test case specifications for Bounded Queue class, whose signature is provided below, using the input space partitioning method.
In JUnit ONLY. You must generate test case specifications for Bounded Queue class, whose signature is provided below, using the input space partitioning method.
Signature
-
public BoundedQueue (int capacity); // The maximum number of elements
-
public void enQueue (Object X);
-
public Object deQueue ();
-
public boolean isEmpty ();
-
public boolean isFull ();
Assume the usual semantics for a queue with a fixed, maximal capacity.
Part I (80% of the grade)
Generate test cases for the class BoundedQueue using the Input Space Partitioning method.
As a suggestion, try to keep your partitioning simplechoose a small number of partitions and blocks.
What to submit for Part I: a pdf file containing
(a) List of all the input variables, including the state variables.
(b) Characteristics of the input variables (Make sure you cover all input variables)
(c) Blocks that partition the characteristics.
(d) One block in each partition designated as the Base block.
(e) Values for each block.
(f) Test suite that satisfies Base Choice Coverage (BCC)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started