attu
If you are using attu.cs.washington.edu
, to complete this exercise, follow the instructions below to view the code coverage report webpage coverage_results/index.html
.
In the top-level directory of the triangle project (i.e., ls
shows the coverage_results/
directory), run the following commands:
$ wget https://homes.cs.washington.edu/~rjust/courses/CSEP504/in_class/cp_coverage_report.sh
$ chmod +x cp_coverage_report.sh
Run the ./coverage.sh
script, which produces the code coverage report and invokes the cp_coverage_report.sh
script.
Now navigate to the following URL in your browser, replacing $USER
with your CSE NetID: https://homes.cs.washington.edu/~$USER/coverage_results
. For instance, if your CSE NetID is foobar
, then the URL is https://homes.cs.washington.edu/~foobar/coverage_results
.
To remove the code coverage report from home page, delete the /cse/web/homes/$USER/coverage_results
directory:
$ rm -r /cse/web/homes/$USER/coverage_results
Every CSE student can use the home page service to serve webpages over the Internet by copying them to /cse/web/homes/$USER
on attu
, so they can copy the code coverage report to that location on attu
and view the results in their local web browser.
The cp_coverage_report.sh
script copies the entire coverage_results
directory into /cse/web/homes/$USER
, and then the coverage_results/index.html
webpage is hosted at https://homes.cs.washington.edu/~$USER/coverage_results
, where $USER
is your CSE NetID.