Skip to content

Example showing Java configured with Maven (build tool), JUnit (for unit testing), and JaCoCo (for measuring code coverage)

Notifications You must be signed in to change notification settings

csun-comp430-s22/maven_testing_example

Repository files navigation

Basic Testing Setup for Java

This code uses maven as a Java build tool. Maven is responsible for managing dependencies and automating running the code.

  • To compile all code: mvn compile
  • To run all tests: mvn test
  • To determine coverage information:
    • mvn jacoco:report
    • Open target/site/jacoco/index.html for an HTML coverage report

About

Example showing Java configured with Maven (build tool), JUnit (for unit testing), and JaCoCo (for measuring code coverage)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages