Skip to content

ucsb-cs156-s23/STARTER-jpa01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STARTER-jpa01

Starter code for https://ucsb-cs156.github.io/s23/lab/jpa01/

Testing with Junit

To run test cases with JUnit, use:

mvn test

Code Coverage

To calculate code coverage with Jacoco, use:

mvn test jacoco:report

Then open: target/site/jacoco/index.html in a web browser.

Mutation testing

To run mutation testing with pitest, use:

mvn test org.pitest:pitest-maven:mutationCoverage

Then open target/pit-reports/DATE-TIME-STAMP/index.html

Note that the DATE-TIME-STAMP will vary; it will be something like 202112311716