Skip to content

Commit

Permalink
document new location for jacoco unit test file IQSS#9268
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 3, 2023
1 parent 379022c commit e9833e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/release-notes/9268-8349-oidc-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ The support for setting JVM options during testing has been improved for develop
`@JvmSetting` annotation to classes (also inner classes) and reference factory methods for values. This improvement is
also paving the way to enable manipulating JVM options during end-to-end tests on remote ends.

As part of these testing improvements, the code coverage report file for unit tests has moved from `target/jacoco.exec` to `target/coverage-reports/jacoco-unit.exec`.

## New Configuration Options

- dataverse.auth.oidc.enabled
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/developers/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Download SonarQube from https://www.sonarqube.org and start look in the `bin` di
-Dsonar.test.exclusions='src/test/**,src/main/webapp/resources/**' \
-Dsonar.issuesReport.html.enable=true \
-Dsonar.issuesReport.html.location='sonar-issues-report.html' \
-Dsonar.jacoco.reportPath=target/jacoco.exec
-Dsonar.jacoco.reportPath=target/coverage-reports/jacoco-unit.exec
Once the analysis is complete, you should be able to access http://localhost:9000/dashboard?id=edu.harvard.iq%3Adataverse to see the report. To learn about resource leaks, for example, click on "Bugs", the "Tag", then "leak" or "Rule", then "Resources should be closed".

Expand Down

0 comments on commit e9833e8

Please sign in to comment.