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

test: Increase moduletemplateinfolookup testcoverage #2273

Conversation

nesmabadr
Copy link
Contributor

Description

Changes proposed in this pull request:

  • Increase moduletemplateinfolookup testcoverage

Related issue(s)
Resolves #2202

@nesmabadr nesmabadr requested a review from a team as a code owner February 25, 2025 10:40
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 25, 2025
Copy link
Contributor

@c-pius c-pius left a comment

Choose a reason for hiding this comment

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

Overall looks good! Just some hints for tests cases that should be easy to add and will get us close to 100%

With this one, I am actually not sure... If I understand the code correctly, this cannot happen because if those two things don't match, the filterTemplatesByChannel func won't return a template.

image

@nesmabadr nesmabadr force-pushed the increase_moduletemplateinfolookup_testcoverage branch from b142c14 to a329ba8 Compare February 26, 2025 13:17
@nesmabadr nesmabadr force-pushed the increase_moduletemplateinfolookup_testcoverage branch from 34b6e82 to a5555f7 Compare February 26, 2025 13:22
@nesmabadr nesmabadr requested a review from c-pius February 26, 2025 13:27
@kyma-bot kyma-bot added the lgtm Looks good to me! label Feb 26, 2025
@nesmabadr nesmabadr enabled auto-merge (squash) February 26, 2025 14:51
@nesmabadr nesmabadr merged commit 85e6368 into kyma-project:main Feb 26, 2025
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve testability and unit test coverage of moduletemplateinfolookup
3 participants