Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

usaidahad/java-testing-coverage

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-testing-coverage

This project demonstrates

  • how to use Junit 5 (an update on 4) for Unit tests
  • And how to generate test coverage using Junit + JaCoCo

Running it in Eclipse

  • Import the project into Eclipse as a 'Existing maven project'
  • Right click on a Junit test and 'Run as --> Junit'
  • To see test coverage : Right click on Junit test 'Coverage As --> JUnit'

Running using MVN

mvn test will run tests and create coverage report under target/site/jcoco/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.