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

Write integration tests using envTest for NATS-manager controller #22

Closed
6 tasks done
Tracked by #8
mfaizanse opened this issue Mar 31, 2023 · 1 comment · Fixed by #34, #35 or #36
Closed
6 tasks done
Tracked by #8

Write integration tests using envTest for NATS-manager controller #22

mfaizanse opened this issue Mar 31, 2023 · 1 comment · Fixed by #34, #35 or #36
Assignees
Labels
area/eventing Issues or PRs related to eventing

Comments

@mfaizanse
Copy link
Member

mfaizanse commented Mar 31, 2023

Write integration tests using envTest for NATS-manager controller

Remember to include tests to cover these scenarios:

  • Controller should be able to deploy NATS on an empty cluster.
  • Controller should be able to reconcile NATS again. (exisiting cluster must not get into broken state)
  • Watching for resource should be working
  • apply configuration from cr works
  • delete cr also deletes all resources
  • updating the cr works

Follow team decisions for test frameworks:

  • testify
  • gomega

Ensure tests can be executed in parallel

@mfaizanse mfaizanse added the area/eventing Issues or PRs related to eventing label Apr 21, 2023
@friedrichwilken
Copy link
Contributor

@mfaizanse have you started to implement this in your previous PRs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment