Open
Description
Feature Request
Currently much of tracing's test code uses subscriber::mock()
to assert what is essentially a test plan. However this module and the methods used in setting up the test plan are called "mock", which is a term generally reserved for dummy impls of pieces of your system. A mock subscriber should act like a subscriber, not track what one is doing.
Crates
All crates that use subscriber::mock() and its related functions.
Motivation
To make test code less confusing to new comers.
Proposal
These types, modules, etc. should be renamed to better reflect that they are a set of asserts and test plans.
Alternatives
Alternatively, we could not do that.