79682212

Date: 2025-06-27 16:08:33
Score: 0.5
Natty:
Report link
#[cfg(test)]
use test_env_helpers::*;
#[after_all]
#[cfg(test)]

 fn after_all() {
        cleanup_tests();
    }

I found this crate https://docs.rs/test-env-helpers/latest/test_env_helpers/ to be very helpful with cleaning up test code after running docker testcontainers using oncecell

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: super IT guy