Hands on Testing Java: Lab #11b

Homework Projects

Configure Your Project

  1. Create a file named Design/project011b.txt.
  2. Create a new package in your project named edu.INSTITUTION.USERNAME.hotj.project011b.
  3. Create the classes needed for the assigned project as part of the edu.INSTITUTION.USERNAME.hotj.project011b package.

The Projects

Your instructor will assign you one of the problems below. To solve your problem, write a program that reads the necessary information to compute and output the indicated values, as efficiently as possible. Following the pattern in the lab exercise, first, design using OCD. Then code your design in Java using stepwise translation. Test your program thoroughly.

When executing your program to hand in as part of the project, a JUnit test case should test each method at least five times, but the test case itself needs to be executed just once. A driver program should be run at least five times with different inputs each time.

Hmmm...

Turn In

Turn the following things:

  1. This grade sheet
  2. An OCD design for one of your methods.
  3. All source files you created for your project.
  4. A change log for your code files.
  5. Sample executions of your test cases and drivers (as applicable).

Lab Home Page | Prelab Questions | Lab Exercise | Homework Projects