CSE 490E1 Assignment 2: Test coverage

Due: Tuesday, January 10, 2017 at 11:59pm, via Canvas

  1. Select an open-source Java project that You will run various tools on this codebase during the quarter.
  2. Tell the instructor your choice as soon as possible — email a URL (probably a GitHub URL). If you chose the same project as another student, one of you will have to change your choice.
  3. Run the project's tests and note the number of passing and failing tests and the time it took to run them. Here is a way to obtain a file that you can submit, for a project that uses Maven as its build system:
        cd /tmp
        git clone https://github.com/user/project
        cd project
        git remote show origin | grep "Fetch URL:" >testexecution.txt
        echo SHA: $(git rev-parse HEAD) >>testexecution.txt
        mvn test >>testexecution.txt
    
  4. Run a code coverage tool to compute coverage. I recommend JaCoCo, which comes with a Maven plug-in and an Ant task and can also be run from the command line.
  5. Create a zip file that contains:
  6. Upload your zip file to Canvas.