JUnit and Coverage Testing Homework
Using the instructions in the UnitTesting and Coverage slides you are to:
- Install Netbeans
- Install JUnit plugin
- Intall the code coverage plugin
- Create a project with the source code: TriTest.java
- 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).