logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

I made a library that replicates some Jest style setup/teardown functionality in Rust Tests

35 points captcontrol 2022-03-10 22:30:05
View on Reddit ↗

I have been writing tests for a rust project at work and have been missing some of the niceties that are present in Jest. So, I made some macros that mimicked the ones I missed the most:

https://docs.rs/test-env-helpers/latest/test\_env\_helpers/

Feedback or issues welcome.

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com