A procedural macro for running a test in a separate process.
§Example
Use the attribute for all tests in scope:
ⓘuse test_fork::test;
#[test]
fn test1() {
assert_eq!(2 + 2, 4);
}
Use it only on a single test:
ⓘ#[test_fork::test]
fn test2() {
assert_eq!(2 + 3, 5);
}