<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/notmuch-test, branch 0.5</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.5</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.5'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-11-10T21:09:32Z</updated>
<entry>
<title>Tests for maildir synchronization</title>
<updated>2010-11-10T21:09:32Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-10-31T21:29:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=736ac42c45f62103e99ef18ef06b201d0bcd546f'/>
<id>urn:sha1:736ac42c45f62103e99ef18ef06b201d0bcd546f</id>
<content type='text'>
Signed-off-by: Michal Sojka &lt;sojkam1@fel.cvut.cz&gt;
</content>
</entry>
<entry>
<title>Rename "notmuch cat" to "notmuch show --format=raw"</title>
<updated>2010-11-06T19:03:51Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-06T19:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=81d3bd3670f570c9aeb7e1f3b317b86194ee4426'/>
<id>urn:sha1:81d3bd3670f570c9aeb7e1f3b317b86194ee4426</id>
<content type='text'>
This is part of an effort to avoid proliferation of excessive
top-level notmuch commands. Also, "raw" better captures the
functionality here, (as opposed to "cat" which is a fairly oblique
reference to a bad Unix abbreviation whose metaphor doesn't work here
since "notmuch cat" operates only on a single message and hence cannot
"con'cat'enate" anything).
</content>
</entry>
<entry>
<title>Add 'cat' subcommand</title>
<updated>2010-11-06T00:51:18Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-10-22T09:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d39d0e55f09d8cc2ba9683ec5622068bb7373f2a'/>
<id>urn:sha1:d39d0e55f09d8cc2ba9683ec5622068bb7373f2a</id>
<content type='text'>
This command outputs a raw message matched by search term to the
standard output. It allows MUAs to access the messages for piping,
attachment manipulation, etc. by running notmuch cat rather then
directly access the file. This will simplify the MUAs when they need
to operate on a remote database.

Edited-by: Carl Worth &lt;cworth@cworth.org&gt;: Remove trailing whitespace,
add missing "test_done" to new test script to avoid "Unexpected exit"
error.
</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: Add the most rudimentary testing of the emacs interface.</title>
<updated>2010-10-22T19:10:15Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-22T19:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1375d71ff41de7c189f9c3ac4f72a8a617d4a5a7'/>
<id>urn:sha1:1375d71ff41de7c189f9c3ac4f72a8a617d4a5a7</id>
<content type='text'>
So far, this is doing nothing more than adding a corpus of email and
ensuring that the `notmuch-hello' function produces the desired
output.
</content>
</entry>
<entry>
<title>test: Fix the search and dump-restore tests to operator on non-empty mail store.</title>
<updated>2010-09-20T23:40:35Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T23:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5497b01c27ed217bc351d9995e0f46c3d6ff2442'/>
<id>urn:sha1:5497b01c27ed217bc351d9995e0f46c3d6ff2442</id>
<content type='text'>
We do this with a new add_email_corpus function that establishes a
mail store with 50 messages from the notmuch mailing list.
</content>
</entry>
<entry>
<title>test: Print section names, and rename all test sections</title>
<updated>2010-09-20T21:38:56Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T21:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4813ee41d63e8bb6f699303be3123be12dfde3f5'/>
<id>urn:sha1:4813ee41d63e8bb6f699303be3123be12dfde3f5</id>
<content type='text'>
Now that we can usefully pass section names via the NOTMUCH_SKIP_TESTS
environment variable, it's useful to actually print those names out
for the user. Then, since we're now printing these names, let's use
nicer names, (not excessively long but also not using abbreviations
like "msg").
</content>
</entry>
<entry>
<title>test: Fix notmuch-test to pass command-line arguments to sub-scripts.</title>
<updated>2010-09-20T20:45:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T20:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8369ed31d0d687c35dc2464b347dadf16962cd27'/>
<id>urn:sha1:8369ed31d0d687c35dc2464b347dadf16962cd27</id>
<content type='text'>
The is useful for things like "notmuch-test --valgrind", etc.
</content>
</entry>
<entry>
<title>test: Rename all tests to get rid of the ugly numbers in file names.</title>
<updated>2010-09-17T23:01:42Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-17T22:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7263aa9ec3f72bb65a491b2c64345ab5258b24ee'/>
<id>urn:sha1:7263aa9ec3f72bb65a491b2c64345ab5258b24ee</id>
<content type='text'>
The numbers were meaningless, and they made it hard to find a file of interest.

Instead, we get the ordering we want by adding an explicit list of
tests to run to the notmuch-test script.
</content>
</entry>
<entry>
<title>test: Cleanup the test output</title>
<updated>2010-09-17T21:08:36Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-17T20:53:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=222926abe1e221a6239ccb9436968af43e1b6fb2'/>
<id>urn:sha1:222926abe1e221a6239ccb9436968af43e1b6fb2</id>
<content type='text'>
This makes the new, git-derived test suite report results in a manner
similar to the original notmuch test suite.

Notable changes include:

  * No more initial '*' on every line
  * Only colorize a single word
  * Don't print useless test numbers
  * Use "PASS" in place of "ok"
  * Begin sentences with a capital letter
  * Print test descriptions for each block
  * Separate each block of tests with a blank line
  * Don't summarize counts between each block
</content>
</entry>
</feed>
