Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 805 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 805 Bytes

For TypeScript please switch to the TypeScript branch of this repository.

Testing Infrastructure in Java

This repository is set up for testing with JUnit and test coverage with Jacoco, both automated through Maven.

You will likely want to explore IDE integration for test execution and coverage in your IDE, but also ensure that tests still execute with Maven in a Continuous Integration environment (e.g. Travis-CI).

The following commands might be useful:

  • mvn clean reset the build
  • mvn test execute tests and write a test coverage report in target/site/jacoco/index.html
  • mvn site build and test the project and write results in target/site/index.html (includes coverage and test results)

See the comments in pom.xml and .travis.yml for technical details of this setup.