-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 ScaledObject and ScaledJob Controllers #1008
Comments
@TsuyoshiUshio do you think this is something that you can use to migrate and extend your ScaleJob Mock based tests to? |
Hi @zroubalik |
Thanks for the info. I haven't had a time to look at both frameworks closely, so don't know the details. So might be worth exploring if we can merge both unit and integration tests under one framework. If you think that it is ok, we can keep the current state for now. |
wrt testing I have found just this: They have changed the docs for the recent version |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Co-authored-by: Tom Kerkhove <[email protected]>
We should use envtest test framework to test our controllers.
The current test file is just a stub: https://github.com/kedacore/keda/blob/950c5e16deb143a8201189ec7430f7350d0fa6bd/controllers/suite_test.go
The text was updated successfully, but these errors were encountered: