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 test tools based on the new type structure #230

Open
beorn7 opened this issue Aug 19, 2016 · 3 comments
Open

Add test tools based on the new type structure #230

beorn7 opened this issue Aug 19, 2016 · 3 comments

Comments

@beorn7
Copy link
Member

beorn7 commented Aug 19, 2016

Once #223 is done, we can make use of it for better testing tools (like mocking helpers for the various interfaces we end up with).

@marco-m
Copy link

marco-m commented May 14, 2019

Hello @beorn7 , I stumbled upon this ticket investigating about testability of Prometheus instrumentation. Are there any news/plans related to this ticket and #223 ? Thanks.

@beorn7
Copy link
Member Author

beorn7 commented May 14, 2019

This is all planned for the v0.10 (soon to be renamed v2) milestone. I still need to finalize the grand design of it to enable detailed work like this one.

Have you looked at https://godoc.org/github.com/prometheus/client_golang/prometheus/testutil ? It should satisfy most of the current needs.

@marco-m
Copy link

marco-m commented May 14, 2019

I will look at testutil, thanks for the prompt answer!

@dosubot dosubot bot added the stale label Aug 21, 2024
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

2 participants