JUnit and Coverage Testing Homework


Using the instructions in the UnitTesting and Coverage slides you are to:

  1. Install Netbeans
  2. Install JUnit plugin
  3. Intall the code coverage plugin
  4. Create a project with the source code: TriTest.java
  5. Create a set of JUnit test cases that acehive 100% coverage of all non-static methods

- Turn in: The test cases and a screen shot or report from the tool showing your coverage.


NOTE: If you are an eclipse user, I am sure similar tools are available for eclipse. You are welcome to use them, but I won't be able to help (since I only briefly used eclipse).