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

Add code coverage for ballerina tests #525

Conversation

Thevakumar-Luheerathan
Copy link
Member

@Thevakumar-Luheerathan Thevakumar-Luheerathan commented Oct 6, 2022

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.
resolves #520

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email [email protected] to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to [email protected] and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

@codecov
Copy link

codecov bot commented Oct 6, 2022

Codecov Report

Base: 66.32% // Head: 57.79% // Decreases project coverage by -8.52% ⚠️

Coverage data is based on head (02a740e) compared to base (4802947).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff               @@
##             svc-impl     #525      +/-   ##
==============================================
- Coverage       66.32%   57.79%   -8.53%     
- Complexity        238      433     +195     
==============================================
  Files              43       74      +31     
  Lines            1256     2360    +1104     
  Branches          153      582     +429     
==============================================
+ Hits              833     1364     +531     
- Misses            335      840     +505     
- Partials           88      156      +68     
Impacted Files Coverage Δ
...lib/azure/functions/builder/XmlPayloadBuilder.java 55.55% <0.00%> (ø)
...functions/exceptions/PayloadNotFoundException.java 100.00% <0.00%> (ø)
...ballerina/stdlib/azure/functions/ParamHandler.java 54.83% <0.00%> (ø)
.../ballerina/stdlib/azure/functions/ModuleUtils.java 100.00% <0.00%> (ø)
...zure/functions/exceptions/BadRequestException.java 100.00% <0.00%> (ø)
...dlib/azure/functions/NativeHttpToAzureAdaptor.java 79.06% <0.00%> (ø)
.../functions/exceptions/HeaderNotFoundException.java 100.00% <0.00%> (ø)
...erina/stdlib/azure/functions/PayloadParameter.java 100.00% <0.00%> (ø)
...ballerina/stdlib/azure/functions/AZFParameter.java 71.42% <0.00%> (ø)
...unctions/exceptions/FunctionNotFoundException.java 0.00% <0.00%> (ø)
... and 21 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@xlight05 xlight05 merged commit 47c1891 into ballerina-platform:svc-impl Oct 7, 2022
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.

2 participants