Closed doublep closed 3 years ago
To clarify: for ERT I use a home-grown extension in Eldev integration code that achieves this. For Buttercup I could in principle do the same, but in this case I hope that reasonable improvements are instead integrated into upstream, so that integration code could just use (setf buttercup-stack-frame-style 'omit)
or something like that, instead of adding yet another hack.
I see no problem adding an omit
style.
@doublep, is the style produced by #197 what you had in mind?
Yeah, something like that. Apparently the after-the-tests block should really not be printed (like you did), since the only extra information it provides is the backtraces, which, in this case, are explicitly asked to be omitted.
Related to #185 somewhat.
Add another backtrace style
omit
. If specified, backtraces should not be printed at all.Rationale: if
expect
fails, and saidexpect
is the only one in its test (sometimes also if not the only), backtrace gives no additional information (you know where the error happened), only clutters output. I very often use similar Eldev-specific functionality for ERT. Would be nice if Buttercupt just supported this out-of-the-box.