<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/README, branch 0.10.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-09-10T17:54:56Z</updated>
<entry>
<title>test: remove documentation for test_expect_equal_failure.</title>
<updated>2011-09-10T17:54:56Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-10T17:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3ee541ab3184a56a5fbe194caf0ff1f15e124683'/>
<id>urn:sha1:3ee541ab3184a56a5fbe194caf0ff1f15e124683</id>
<content type='text'>
The actual function was deleted in commit 4cc67276
</content>
</entry>
<entry>
<title>test: improve known broken tests support</title>
<updated>2011-09-10T13:13:27Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-07-04T04:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4cc67276885990c38bc2bcc79eedbb0851e2bc8a'/>
<id>urn:sha1:4cc67276885990c38bc2bcc79eedbb0851e2bc8a</id>
<content type='text'>
There is existing support for broken tests.  But it is not convenient
to use.  The primary issue is that we have to maintain a set of
test_expect_*_failure functions which are equivalent to the normal
test_expect_* counterparts except for what functions are called for
result reporting.  The patch adds test_subtest_known_broken function
which marks a subset as broken, making the normal test_expect_*
functions behave as test_expect_*_failure.  All test_expect_*_failure
functions are removed.  Test_known_broken_failure_ is changed to
format details the same way as test_failure_ does.

Another benefit of this change is that the diff when a broken test is
fixed would be small and nice.

Documentation is updated accordingly.
</content>
</entry>
<entry>
<title>test: update documentation for test_emacs in test/README</title>
<updated>2011-09-10T13:12:03Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-07-04T04:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0db3a4d5be93710837962b8260420cfc5a8b968e'/>
<id>urn:sha1:0db3a4d5be93710837962b8260420cfc5a8b968e</id>
<content type='text'>
Update test_emacs documentation in test/README according to the latest
changes in emacs tests.  Move the note regarding setting variables
from test/emacs to test/README.
</content>
</entry>
<entry>
<title>test: document test_expect_equal_file</title>
<updated>2011-06-29T22:36:43Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-06-29T17:06:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a31ad0bd01570307d18b7fbd56b7bcdfb22e5b63'/>
<id>urn:sha1:a31ad0bd01570307d18b7fbd56b7bcdfb22e5b63</id>
<content type='text'>
This test was not properly documented when it was originally added (my
bad).
</content>
</entry>
<entry>
<title>test:Improve test behaviors when --root is used</title>
<updated>2011-06-28T23:01:56Z</updated>
<author>
<name>Mark Anderson</name>
<email>ma.skies@gmail.com</email>
</author>
<published>2011-06-28T22:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eb4cf465a5c179c711c15649fc90c7377850cb77'/>
<id>urn:sha1:eb4cf465a5c179c711c15649fc90c7377850cb77</id>
<content type='text'>
Change add_email_corpus, emacs_deliver_message and tests to use
$TEST_DIRECTORY instead of '..'.

This improves the behavior of the usage of --root=&lt;dir&gt;, as the
assumption of what '..' means will usually be incorrect.

Document -root option in README and update valgrind to work with
-root.
</content>
</entry>
<entry>
<title>fix sum moar typos [text files]</title>
<updated>2011-06-23T22:40:50Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2011-06-20T20:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18bf91def97157538bca1b8aac5e624880c8f62e'/>
<id>urn:sha1:18bf91def97157538bca1b8aac5e624880c8f62e</id>
<content type='text'>
Various typo fixes in auxiliary text files included with the source,
(README, TODO, etc.).

Signed-off-by: Pieter Praet &lt;pieter@praet.org&gt;

Edited-by: Carl Worth &lt;cworth@cworth.org&gt; Restricted to just text files.
</content>
</entry>
<entry>
<title>test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability</title>
<updated>2011-05-27T21:03:28Z</updated>
<author>
<name>Joel Borggrén-Franck</name>
<email>jbf@codehouse.se</email>
</author>
<published>2010-12-01T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fa843216c918fe4a6151e55947cf3a7f46fcdb5'/>
<id>urn:sha1:3fa843216c918fe4a6151e55947cf3a7f46fcdb5</id>
<content type='text'>
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
systems running on bash &lt; 4 can prepend bash &gt;= 4 to path before
running the tests.
</content>
</entry>
<entry>
<title>test: Add a new test_expect_equal_failure</title>
<updated>2010-10-23T00:01:34Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-23T00:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6307f306fd162cae12a39df3f291ecba2823fc58'/>
<id>urn:sha1:6307f306fd162cae12a39df3f291ecba2823fc58</id>
<content type='text'>
Which allows us to have a known-broken test that would otherwise use
test_expect_equal.
</content>
</entry>
<entry>
<title>test: Add a new test_emacs function to test-lib.sh</title>
<updated>2010-10-22T19:09:56Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-22T19:05:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=209e756cd4571964821221d5d4d8447b0aadd43d'/>
<id>urn:sha1:209e756cd4571964821221d5d4d8447b0aadd43d</id>
<content type='text'>
This should be quite handy for doing automated testing of the
emacs-based functionality in notmuch. This function invokes emacs with
the necessary command-line arguments, (to run in batch mode with no
local initialization, to load the notmuch code from the source
directory, and to ensure an 80-column width).
</content>
</entry>
<entry>
<title>test/README: Document add_email_corpus (and add_message/generate_message)</title>
<updated>2010-09-20T23:41:31Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T23:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9c7fd320c902bc79cbb3eaa9757cf5b13112ce27'/>
<id>urn:sha1:9c7fd320c902bc79cbb3eaa9757cf5b13112ce27</id>
<content type='text'>
While adding the documentation here for add_email_corpus I noticed
that the other email-adding functions in test-lib.sh were not yet
documented here, so add all of that documentation.
</content>
</entry>
</feed>
