Skip to content

v0.2.0

Compare
Choose a tag to compare
@jbr jbr released this 02 Jan 06:37
· 11 commits to main since this release
50b28b7

Two small improvements, one of which is potentially vaguely semver-breaking:

#[test(harness)]

If your test harness is named harness as in fn harness(test: ...), instead of writing #[test(harness = harness)], you can just write #[test(harness)].

Passing through any impl Termination

Tests will now return any type that implements std::process::Termination, not just (). This is possibly semver-breaking if somehow there was code that was using type inference based on the return type being (), but other than that, returning () will continue to work.