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

Add integration tests to the project #144

Open
programmer04 opened this issue May 22, 2023 · 0 comments
Open

Add integration tests to the project #144

programmer04 opened this issue May 22, 2023 · 0 comments

Comments

@programmer04
Copy link
Member

programmer04 commented May 22, 2023

Kubernetes-telemetry is used in production by KIC, hence proper test suite should be added. Moreover creating unit tests with mocked client is tedious and may be error prone, because it requires some hack like e.g. in #143

envtest can be leveraged similarly as it's being done in KIC to spin up etcd and api-server, create those resources and assert that counters work.

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

No branches or pull requests

1 participant