Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
otavio-code authored Dec 1, 2024
1 parent 352ad64 commit 7a2cb79
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# products-api-test-coverage
# Cobertura de Código com JaCoCo

Este projeto utiliza o [JaCoCo](https://www.jacoco.org/jacoco/) para medir a cobertura de código durante a execução dos testes automatizados. A integração com o **GitHub Actions** permite a geração e validação dos relatórios de cobertura diretamente na pipeline de CI/CD.

## 📋 Configuração

### 1. Configuração no `build.gradle`

Certifique-se de que o arquivo `build.gradle` inclua as configurações do JaCoCo:

```groovy
plugins {
id 'jacoco'
}
jacoco {
toolVersion = "0.8.10"
}
tasks.jacocoTestReport {
reports {
xml.required.set(true)
html.required.set(true)
}
}

0 comments on commit 7a2cb79

Please sign in to comment.