Crate turbo_crates_testing_proc_macros

Source

Attribute Macrosยง

safe_test
Uses static mutex variable to execute test safely. Mutex variable name can be provided as a macro param. If no param is provided, default name TEST_MUTEX will be used.
safe_tests
Some tests need extra guard to be executed safely. It fixes some flakes that are caused by tests that are executed in parallel and are using the same resources.