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

Unit test generateModuleStatus #2205

Open
1 task
c-pius opened this issue Jan 23, 2025 · 0 comments
Open
1 task

Unit test generateModuleStatus #2205

c-pius opened this issue Jan 23, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@c-pius
Copy link
Contributor

c-pius commented Jan 23, 2025

Description

We should unit test generateModuleStatus of runner.go. The method is critical for writing the module status and we already have various branches within the func depending on expected cases. These branches should be covered by explicit tests so that we don't accidentially break the user facing status when refactoring the code or adding new functionality.

Reasons

Follow-up from #2200
See also: https://github.com/kyma-project/lifecycle-manager/pull/2200/files#r1926542449

To future proof for further refactorings.

Acceptance Criteria

  • unit tests for all branches of generateModuleStatus

Feature Testing

No response

Testing approach

No response

Attachments

No response

@c-pius c-pius added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant