-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73755/#review223928
-----------------------------------------------------------




pom.xml
Line 857 (original), 867 (patched)
<https://reviews.apache.org/r/73755/#comment312975>

    double check this changes


- bhavik patel


On Dec. 10, 2021, 5:26 p.m., Pradeep Agrawal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73755/
> -----------------------------------------------------------
> 
> (Updated Dec. 10, 2021, 5:26 p.m.)
> 
> 
> Review request for ranger, Dineshkumar Yadav, Abhay Kulkarni, Madhan 
> Neethiraj, Mehul Parikh, Ramesh Mani, Sailaja Polavarapu, and Velmurugan 
> Periasamy.
> 
> 
> Bugs: RANGER-3539
>     https://issues.apache.org/jira/browse/RANGER-3539
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> **Problem Statement:** Currently there is no way to figure out Which part of 
> the Ranger code has test coverage. 
> 
> 
> **Proposed Solution:** Proposing jacoco-maven-plugin as part of build process 
> to improve test coverage.
> 
> 
> Diffs
> -----
> 
>   pom.xml f9c46f669 
> 
> 
> Diff: https://reviews.apache.org/r/73755/diff/3/
> 
> 
> Testing
> -------
> 
> **Commands to generate test coverage report:**
> 
> 1) Build ranger using command: mvn clean install
> 2) Install jacoco server either at local or remote and run it
> 3) Run command to generate report:
> sample:
> mvn clean install -Dsonar.host.url=http://1.2.3.4:1234 -DskipTests -Psonar 
> -Dsonar.coverage.jacoco.xmlReportPaths=/path/to/xmlreport.xml 
> -Dsonar.projectKey=ranger_public -Dsonar.projectName=Ranger_AdminServer
> 
> 
> References:
> 
> https://www.baeldung.com/jacoco
> https://www.baeldung.com/sonarqube-jacoco-code-coverage
> https://mkyong.com/maven/maven-jacoco-code-coverage-example/
> https://medium.com/backend-habit/generate-codecoverage-report-with-jacoco-and-sonarqube-ed15c4045885
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>

Reply via email to