]> git.notmuchmail.org Git - notmuch/commit
test: Add simple tests for navigating notmuch-hello and notmuch-search views
authorCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 00:02:07 +0000 (17:02 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 00:02:07 +0000 (17:02 -0700)
commita8aa437bbcd9df6ba739ddd4d0ba402d65847d01
tree928dfafbe1bf380d3bca9e85b96340d35f14d5ce
parent6307f306fd162cae12a39df3f291ecba2823fc58
test: Add simple tests for navigating notmuch-hello and notmuch-search views

We simulate the act of selecting the "inbox" saved search from
notmuch-hello and the act of selecting a desired thread from the
notmuch-search results.

The test for the navigation of notmuch-hello is currently marked as
BROKEN since its output is in the opposite order compared to the
'(notmuch-search "tag:inbox")' test. This question of ordering is a
currently open issue on the notmuch mailing list, so we'll let the
test suite reflect that for now.

Finally, this commit also abstracts some common emacs lisp code,
(waiting for the current buffer's process to complete), into a new
notmuch-test-wait function that is made available to anything calling
test_emacs.
test/emacs
test/test-lib.sh