emacs-buttercup icon indicating copy to clipboard operation
emacs-buttercup copied to clipboard

expect should not short-circuit the current spec

Open jorgenschaefer opened this issue 10 years ago • 1 comments

As a user, I want to see the results of all failed expect calls in a failed spec in order to get a full understanding of the erroneous behavior.

For example, when doing data-driven testing (e.g. like Fuco does in Smartparens), it is useful to see all mismatches, not just the first.

jorgenschaefer avatar May 01 '15 10:05 jorgenschaefer

As described in #49, another advantage here would be that we can tell various sources of errors apart, and report them correctly, e.g. when there are errors both in before/after clauses as well as the test itself. The fix for #48 (a1c7bff) hides certain errors, that's suboptimal.

jorgenschaefer avatar Mar 23 '16 17:03 jorgenschaefer