handle-panics attempts to capture panic backtrace when one happens, instead of spitting it to console
backtrace enables actual backtraces using std::backtrace
Short backtrace printed second time after test failure is produced by toplevel test func reporting its failure via panic, can be remedied by rewriting helper macros so that they return failure instead of panicking.
Collected backtrace is still 50+ frames long. Unfortunately it seems to be impossible to even enumerate frames on stable, yet alone use existing short backtrace style. Backtrace::frames() and BacktraceFrame are still experimental.
handle-panics
attempts to capture panic backtrace when one happens, instead of spitting it to consolebacktrace
enables actual backtraces usingstd::backtrace
Backtrace::frames()
andBacktraceFrame
are still experimental.