<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch 0.4</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.4</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.4'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-10-29T22:53:34Z</updated>
<entry>
<title>test: Test emacs notmuch-hello with no saved searches to display.</title>
<updated>2010-10-29T22:53:34Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-29T22:53:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fe90a955e21bc6825e3d9b7ffaba31e1c3d0c8b'/>
<id>urn:sha1:3fe90a955e21bc6825e3d9b7ffaba31e1c3d0c8b</id>
<content type='text'>
Haippily, this works just fine, but we might as well test that.
</content>
</entry>
<entry>
<title>test: Test emacs notmuch-hello when displaying a saved search with 0 results.</title>
<updated>2010-10-29T22:50:42Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-29T22:49:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dec2d57fbcaf470e97c37cd40d2953b2404f07b6'/>
<id>urn:sha1:dec2d57fbcaf470e97c37cd40d2953b2404f07b6</id>
<content type='text'>
This test verifies that the bug fix in the previous commit is working.
</content>
</entry>
<entry>
<title>test: Emit a friendly error message if run with bash &lt; 4.0.</title>
<updated>2010-10-28T19:07:42Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T19:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=20018a0c094f576589ea82d5ca5116dfd3c0ea55'/>
<id>urn:sha1:20018a0c094f576589ea82d5ca5116dfd3c0ea55</id>
<content type='text'>
The bash code in the test suite is using associative arrays which were
only added to bash as of release 4.0.

If the test suite is run with an older bash, we now immediately error
out and explain the situation, (instead of emitting confusing error
messages and failing dozens of tests, which is what happened before
this change).
</content>
</entry>
<entry>
<title>test: Avoid using unreliable, hard-coded thread ID values in test suite.</title>
<updated>2010-10-28T18:45:50Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T18:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4884f5496caa2cdc8749c5eefbdc264373403f22'/>
<id>urn:sha1:4884f5496caa2cdc8749c5eefbdc264373403f22</id>
<content type='text'>
Some recently-added tests used hard-coded thread ID values in search
specifications. This is unreliable since the thread IDs depend on the
order in which "notmuch new" encounters new files, (which in turn can
depend on inode ordering within the filesystem).

Fix these by using the new "notmuch search --output=threads" to find the
correct thread IDs given a hard-coded (but reliable) message ID.
</content>
</entry>
<entry>
<title>test: Add test for reply functionality within emacs.</title>
<updated>2010-10-28T01:43:09Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T01:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=76f1c84e6f8caf8768e2bd10a4db2954703b19b9'/>
<id>urn:sha1:76f1c84e6f8caf8768e2bd10a4db2954703b19b9</id>
<content type='text'>
The reply is primarily taken care of by "notmuch reply" which is already
thoroughly tested. But a recent bug is inserting a duplicate From header
in the emacs-based reply. So exercise that bug here.
</content>
</entry>
<entry>
<title>test: Update tests with removal of bcc from reply</title>
<updated>2010-10-28T00:34:31Z</updated>
<author>
<name>Jameson Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2010-10-28T00:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=04b27c0d4c7c7e181b96076e7a52e47843182428'/>
<id>urn:sha1:04b27c0d4c7c7e181b96076e7a52e47843182428</id>
<content type='text'>
Update the tests so that they no longer expect the Bcc header in the
output of "notmuch reply" now that it has been removed.

Edited-by Carl Worth: Simply applying the change to our newly
modularized test suite.
</content>
</entry>
<entry>
<title>test: Add test for fully-roundtripped FCC</title>
<updated>2010-10-28T00:08:09Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T00:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1aae106be5576fb75c2813bef04486f40de07d52'/>
<id>urn:sha1:1aae106be5576fb75c2813bef04486f40de07d52</id>
<content type='text'>
We test that the message we sent via (fake) SMTP is included in the mail
index after a "notmuch new". This verifies that the FCC setting indeed
successfully saved the sent message within the notmuch mail store.
</content>
</entry>
<entry>
<title>test: Use an explicit date in the message sent via (fake) SMTP</title>
<updated>2010-10-28T00:06:26Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T00:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7123e63b00c2e47c70c07967c98fa1d97a1c5870'/>
<id>urn:sha1:7123e63b00c2e47c70c07967c98fa1d97a1c5870</id>
<content type='text'>
Simply setting an explicit date is cleaner than letting the current,
(arbitrary), date get generated for the email message and then constantly
filtering that date out of search results.
</content>
</entry>
<entry>
<title>emacs: Explicitly set the From address when composing a new message.</title>
<updated>2010-10-28T00:04:48Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T23:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=36dcbdeff6de2612e70fe58bdbc6c5b979b0eafa'/>
<id>urn:sha1:36dcbdeff6de2612e70fe58bdbc6c5b979b0eafa</id>
<content type='text'>
Previously, underlying emacs code was setting this header. Now, we do the
right thing and query the notmuch configuration for the default value here.
</content>
</entry>
<entry>
<title>emacs: Enable FCC (to a directory named "sent") by default.</title>
<updated>2010-10-28T00:02:44Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T23:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a3883a7e17171381b8b495ce6efd931c8f420c90'/>
<id>urn:sha1:a3883a7e17171381b8b495ce6efd931c8f420c90</id>
<content type='text'>
Now that the FCC code is fixed to use the notmuch database path, we can
actually enable this by default, which should be highly useful for all
new users of notmuch.
</content>
</entry>
</feed>
