Add -- --nocapture
to the test command for prints in tests to display.
So the full command becomes cargo test -- --nocapture
.
Disclaimer: This is something I just learned so I might be completely wrong. If I am please let me know, my email is in the footer.