Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages