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

Communication Identity | Coverage improvement #33896

Merged
merged 7 commits into from
Mar 13, 2023

Conversation

mjafferi-msft
Copy link
Member

@mjafferi-msft mjafferi-msft commented Mar 7, 2023

Description

On discussion with the SDK Engineering folks, it was finalized that we must include Autorest code in the coverage report and adjust Autorest configuration.
So, made some improvements in Autorest configuration to reduce/optimize unused generated code and also add some test cases for files that were not covered as a part of tests.
Also, updated ReadMe file for Autorest that simplifies command to run code generation in general.

Coverage : 92% (once CTE Tests are enabled in PPE & INT)

Discussion with the SDK Engineering folks :
Maqsood Jafferi: Excluding Autorest (Autogenerated) code from Coverage Report

User Story : [Pipeline][Identity][JAVA] Test coverage improvement

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@mjafferi-msft
Copy link
Member Author

/azp run java - azure-communication-identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-communication-identity

@mjafferi-msft
Copy link
Member Author

/azp run java - azure-communication-identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mjafferi-msft
Copy link
Member Author

/azp run java - azure-communication-identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mjafferi-msft
Copy link
Member Author

/azp run java - azure-communication-identity - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mjafferi-msft mjafferi-msft changed the title Coverage improvement Communication Identity | Coverage improvement Mar 9, 2023
@mjafferi-msft mjafferi-msft marked this pull request as ready for review March 9, 2023 14:02
@mjafferi-msft mjafferi-msft merged commit 739bafb into Azure:main Mar 13, 2023
@mjafferi-msft mjafferi-msft deleted the coverage_improvement branch March 13, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants