Having tests return TestResult (Result<(), Error> objects), enables having assertions that don't panic, and also makes it possible to return from tests early.
Ideally this would be transparent to the user, so this ticket is to track the following implementation:
If the user manually specifies -> TestResult, they must manually call Ok(()) themselves,
If the user omits -> TestResult, then the test implicitly adds Ok(()) at the end
Having tests return
TestResult
(Result<(), Error>
objects), enables having assertions that don't panic, and also makes it possible to return from tests early.Ideally this would be transparent to the user, so this ticket is to track the following implementation:
-> TestResult
, they must manually callOk(())
themselves,-> TestResult
, then the test implicitly addsOk(())
at the end