-
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
Migrate e2e tests to Go #2737
Comments
Thoughts @kedacore/keda-core-contributors? |
There is not an icon to reflect how much I agree with this proposal 😁😁 |
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. |
Bumping this issue. I think this switch would be highly beneficial and work on it should get started. There's no need for a project that's written entirely in Go, to have its e2e tests written in TypeScript. The more we delay this, the tougher it's going to get with more scalers and their typescript tests being added. |
💯, we just need to find somebody who wants to go through it 😅 |
First of all, there's the discussion of which Go testing framework to be used, and with which assertion framework. Currently, there's a bit of inconsistency with some unit tests using Once the decision is finalized, a little bit of work would also be required to bring existing tests to parity. As for the e2e tests themselves, we should probably have an umbrella thread asking for Go tests similar to the one already existing, and start accepting new tests only in Go. |
@kedacore/keda-core-contributors I am willing to start this off with e2e tests for the Azure scalers. I was considering just using |
@v-shenoy that would be great! Please sync with @JorTurFer. It doesn't have to be over complex, but we should have some general library with |
I did some tries, but nothing really important, if you are willing to contribute with this, I'll not be who blocks you xD |
I'll send a draft PR with one test tomorrow, for reference. |
Thanks a ton @v-shenoy! |
Please don't forget to update the contribution guide as well; |
Halfway there, phew! |
Nice progress on this! |
I can take care of Redis related tests(if no one is working on them) once I'm done with NATS JetStream scaler |
Redis is almost done, I have the PR opened |
Took a while, but we got there :) |
Congrats and thanks to everyone who has contributed to this! 🎉 |
Migrate e2e tests to Go instead of typescript to standardize one one language.
We should use a phased approach where we migrate one scaler and run the new approach next to the current one to verify the setup.
New scalers should be in Go and then gradually migrate old tests over.
Value metricType
to Go #3435The text was updated successfully, but these errors were encountered: