In-class exercise Coverage-based testing: Set up

  1. Make sure Apache Ant, a Java 8 or 11 or 17 JDK, and Git are installed. (The set-up tips for Ant may be useful.) The required software is already installed on attu.cs.washington.edu, if you prefer to do the exercise there.

  2. Clone the following git repository and read its README.md file: https://bitbucket.org/rjust/coverage

  3. Test your set up: compile and test the Triangle program.

  4. Compute the coverage report: run ant coverage and view the coverage report. If you do the exercise on Attu, review the set-up tips for Attu to serve the html coverage report computed on Attu.