I asked for feedback on the approach of implementing tests in .el[1] and got only positive feedback (well, only one bit of feedback at all).
Here are some simpler tests implemented using this approach, trying to
address the concerns about seeing what failed. The test output is now
something like:
PASS notmuch-show-clean-address 1
PASS notmuch-show-clean-address 2
FAIL notmuch-show-clean-address 3
Expect: "ДБ <[email protected]>"
Output: "[email protected]"
Expect: "foo (at home) <[email protected]>"
Output: "foo <[email protected]>"
Expect: "foo [at home] <[email protected]>"
Output: "foo at home <[email protected]>"
Expect: "Foo Bar"
Output: nil
Obviously the first two tests passed and the third failed.
Footnotes:
[1] id:"[email protected]"
pgp6FeIk2WWVB.pgp
Description: PGP signature
_______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
