Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 1 Lnai 6321

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215879X, 978-3642158797

More Books

Students also viewed these Databases questions

Question

Discuss the effect of day care on children.

Answered: 1 week ago