Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Need way to run some code before any of unit tests #35762
The details can be found logging while running cargo test.
The problem is in usage of rust log library,
So to get output from your code that tested by "cargo test" you need somehow call "logging_init" function, but as can I see at now there is no way to tell "cargo" run something before any tests.
Previously reported as cargo bug