jorgenschaefer / emacs-buttercup

Behavior-Driven Emacs Lisp Testing
GNU General Public License v3.0
364 stars 44 forks source link

expect should not short-circuit the current spec #13

Open jorgenschaefer opened 9 years ago

jorgenschaefer commented 9 years ago

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 commented 8 years ago

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.