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

Testing: More component tests for Keptn Operator #320

Closed
5 tasks
Tracked by #319
RealAnna opened this issue Nov 7, 2022 · 0 comments · Fixed by #1003
Closed
5 tasks
Tracked by #319

Testing: More component tests for Keptn Operator #320

RealAnna opened this issue Nov 7, 2022 · 0 comments · Fixed by #1003
Assignees
Labels
chore Maintenance
Milestone

Comments

@RealAnna
Copy link
Contributor

RealAnna commented Nov 7, 2022

At the moment the component tests only make assertions over appController:

  1. KeptnAppController should update the status of the CR ✓
  2. KeptnAppController should update the spans ✓
  3. [Feature:Performance] Load KeptnAppController should create the app version CR ✓

We should have component test for all controllers and for the webhook.

The current testing framework might have concurrency problems in the existing tests.

Acceptance Criteria

Implement the following tests:

  • List specs for each controller
  • Translate specs into tests
  • List specs for webhook
  • Add webhook tests

DoD

  • More component tests are present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants