Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #2934: Setup unit test coverage reports #3916

Merged
merged 17 commits into from
Jun 15, 2019

Conversation

srnagar
Copy link
Member

@srnagar srnagar commented Jun 14, 2019

This change is to setup JaCoCo for reporting unit test coverage for all track 2 modules.

When this is released, unit test coverage reports should be available at the link below:
https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/staging/test-coverage/index.html

.azure-pipelines/client.yml Outdated Show resolved Hide resolved
<version>1.0.0-SNAPSHOT</version>

<name>Microsoft Azure client library for Application Configuration</name>
<description>This package contains the Microsoft Azure Application Configuration client library.</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous two lines are copy/paste fails.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

pom.client.xml Outdated
@@ -630,6 +649,7 @@
<modules>
<module>./eng/spotbugs-aggregate-report</module>
<module>./eng/code-quality-reports</module>
<module>./eng/testcoverage</module>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For naming consistency, can this be 'jacoco-test-coverage'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.azure-pipelines/client.yml Outdated Show resolved Hide resolved
.azure-pipelines/client.yml Outdated Show resolved Hide resolved
.azure-pipelines/client.yml Outdated Show resolved Hide resolved
@@ -201,7 +201,7 @@ jobs:
displayName: 'Run tests'
inputs:
mavenPomFile: $(pomFile)
options: '$(DefaultOptions) $(ProfileFlag)'
options: '$(DefaultOptions) $(ProfileFlag) -Dinclude-non-shipping-modules'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what this change does, will rely on @JonathanGiles insight here

@srnagar srnagar requested a review from bsiegel June 15, 2019 00:29
Copy link
Member

@bsiegel bsiegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍✨Ship It✨:shipit:

Note: Please squash and merge this pull request.

@srnagar srnagar merged commit 898f62d into Azure:master Jun 15, 2019
@srnagar srnagar deleted the jacoco-setup branch July 9, 2019 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants