v0.2.0
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.