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

[Tech Debt] Extend unit tests for metrics #670

Open
jbiers opened this issue Feb 25, 2025 · 0 comments
Open

[Tech Debt] Extend unit tests for metrics #670

jbiers opened this issue Feb 25, 2025 · 0 comments

Comments

@jbiers
Copy link
Member

jbiers commented Feb 25, 2025

When implementing metrics for the Backup&Restore Operator a mix of integration and unit tests was used to make sure the metrics are working as expected. Integration tests were prioritized, while unit tests were used strictly when using e2e were not possible.

Ideally the project should have unit tests covering all metrics.

https://github.com/rancher/backup-restore-operator/blob/main/pkg/monitoring/metrics_test.go

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