Skip to content

A Spring Boot-based Java project demonstrating effective use of Codecov for tracking code coverage. This project utilizes Maven for dependency management and build automation, integrating with JaCoCo to generate coverage reports and ensure high-quality code standards.

License

Notifications You must be signed in to change notification settings

upa-io/codecov-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov

Codecov Java Project Documentation

Welcome to the Codecov Java Project documentation. This document aims to provide you with all the necessary information to get started with the project, understand its structure, and contribute to its development.

Table of Contents

Getting Started

This project utilizes Maven for dependency management and build automation. It is structured according to standard Maven project conventions and includes integration with Spring Boot for rapid application development.

Prerequisites

  • JDK 11 or later
  • Maven 3.6 or later

Project Structure

The project follows the standard Maven project structure:

  • src/main/java/: Application source code.
  • src/main/resources/: Application resources (e.g., properties files).
  • src/test/java/: Test source code.
  • target/: Generated artifacts and compiled classes.

Reference Documentation

For further information and reference, consider the following resources:

Building and Running

To build the project, navigate to the root directory and run:

./mvnw clean install

Code Coverage with JaCoCo and Codecov

This project uses JaCoCo to generate code coverage reports during the build process and integrates with Codecov to track code coverage over time, ensuring high-quality code standards.

Generating Coverage Reports with JaCoCo

JaCoCo is configured to run with Maven's test phase, automatically generating coverage reports in the target/site/jacoco/ directory. To generate a JaCoCo coverage report, run:

./mvnw clean test
./mvnw prepare-package

After running tests, you can find the JaCoCo coverage report in target/site/jacoco/index.html.

To view the project's code coverage reports and track coverage changes over time, visit the project's Codecov page:

CodeCov Dashboard

About

A Spring Boot-based Java project demonstrating effective use of Codecov for tracking code coverage. This project utilizes Maven for dependency management and build automation, integrating with JaCoCo to generate coverage reports and ensure high-quality code standards.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages