Debugging Exercise
Debugging Exercise
We will not have class on Monday, May 12. In place of class, I would like you to complete the following exercise that we would have been completed in class. You will submit this exercise to Web-CAT before Monday, May 12 at 3:30pm (no late submissions allowed). For this exercise, you may work in groups of two or three students if you would like. Only one student from each group will need to submit the documents, but the documents should have the names of all group members.
You will be black-box testing and debugging code written by another student. The code is a project from an introduction to Java course from 2010.
All materials needed for the exercise can be found in the course directory:
/course/cs3500su14/ICE/2014_05_12
-BoxOfficeDescription.txt is the project description that the students in the introduction to Java course were given
-BoxOffice.java is the student’s code
-BlackBoxTestPlan.docx and BlackBoxTestPlan.pdf are the black box test plans. You should use one of these files to document your black box test plan. Your black box test should be based on BoxOfficeDescription.txt. Your black box test plan should include at least 10 non-redundant, repeatable, and specific test cases. Your black box test plan should contain the results of running your test cases on the given BoxOffice.java program. You do not have to write a test program.
Through your black box testing, you should discover that there are bugs in BoxOffice.java. You will make a list of the bugs and describe how to fix each bug.
As you examine BoxOffice.java, make a list of field and method descriptions for the fields A, B, C, D, E, F, and G and the methods helperA, helperB, helperC, and helperD. These fields and methods currently do not have documentation and do not have descriptive names so you need to figure out what they represent.
You will submit the following documents (txt, pdf, or Word document) via Web-CAT: your completed black box plan, a list of bugs that you found in BoxOffice.java, and a list of field and method descriptions.
Last Updated on May 8, 2014