Skip to content

josdem/gmailer-spring-boot

Repository files navigation

gmailer-spring-boot

All Contributors


Simple Gmail API server

Go here for more information

https://gmailer.josdem.io/

To Run, Call and Configuration

References gmail-api-client

Test Coverage Setup

This project uses JaCoCo for test coverage reporting and is configured for SonarCloud integration.

Running Tests with Coverage

# Run tests and generate coverage report
./gradlew test jacocoTestReport

# View coverage report
open build/jacocoHtml/index.html

SonarCloud Integration

The project is configured to work with SonarCloud for continuous code quality monitoring:

  1. Coverage Reports: JaCoCo XML reports are automatically generated and configured for SonarCloud
  2. Quality Gates: Coverage thresholds are set to ensure code quality
  3. Configuration: See sonar-project.properties for detailed configuration

Coverage Configuration

  • JaCoCo Version: 0.8.13
  • Report Formats: HTML and XML (required for SonarCloud)
  • Coverage Threshold: Currently set to 0% minimum (can be adjusted as needed)
  • Exclusions: Model classes and configuration classes are excluded from coverage requirements

Environment Setup

Make sure you have Java 21 installed and JAVA_HOME properly set:

export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Tim
Tim

💻 🚇
@Nkwenti @Severian
@Nkwenti @Severian

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Send emails from everywhere using Gmail API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5