#[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