Question: n this exercise, you will write a set of JUnit test cases for a class called Balloon that models a simple toy balloon. See the

 n this exercise, you will write a set of JUnit testcases for a class called Balloon that models a simple toy balloon.See the javadoc for the Balloon class here. There are 5 rersions

n this exercise, you will write a set of JUnit test cases for a class called Balloon that models a simple toy balloon. See the javadoc for the Balloon class here. There are 5 rersions of this class for you to try your tests on. Your task is to write a comprehensive set of unit test cases that enables you to identify what is wrong in the buggy versions, without seeing the source code. (This is sometimes called "black-box" style testing, since we can't see inside the implementation.) Write a set of unit test cases for Balloon. Each test case should focus on checking one simple fact about the behavior of the class. For example you might start by making a list of statements such as A newly constructed Balloon should have radius zero. A newly constructed Balloon should not be popped. After calling blow(5) on a Balloon with maximum radius 10 , the radius should be 5. Study the javadoc and write down some more facts that you might want to verify. Each of these facts becomes a test case. Write enough test cases that you would be comfortable spending your own hard-earned money on one of these alloon objects, confident that it will work correctly. Canctruekar Summury Combucier and Reresipaian DLLlasa; int asx: the telba:n ixdoforsal (-ais in cerry aril is rat pareptal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!