Ready-to-use test function.
Helps to test an app actually has working metrics endpoint. Configuration is a proplist(hence compatible with common test) with two keys:
self_test/1 | |
self_test/2 |
self_test(Config) -> any()
self_test(Port, Path0) -> any()