<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/README, branch 0.14</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.14</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.14'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-01-25T11:25:44Z</updated>
<entry>
<title>test: Add `test_emacs_expect_t'.</title>
<updated>2012-01-25T11:25:44Z</updated>
<author>
<name>David Edmondson</name>
<email>dme@dme.org</email>
</author>
<published>2012-01-24T16:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=260975e8aff635b6b99db835ee8d40ec33ee916c'/>
<id>urn:sha1:260975e8aff635b6b99db835ee8d40ec33ee916c</id>
<content type='text'>
Add a new test function to allow simpler testing of emacs
functionality.

`test_emacs_expect_t' takes one argument - a lisp expression to
evaluate. The test passes if the expression returns `t', otherwise it
fails and the output is reported to the tester.
</content>
</entry>
<entry>
<title>Document external dependencies in the test suite</title>
<updated>2012-01-21T12:28:47Z</updated>
<author>
<name>Ethan Glasser-Camp</name>
<email>ethan@betacantrips.com</email>
</author>
<published>2012-01-16T18:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ae753f30fb90419c50b9bb1fc87618dd1663bc9'/>
<id>urn:sha1:8ae753f30fb90419c50b9bb1fc87618dd1663bc9</id>
<content type='text'>
Add an explicit note to the README explaining what programs are
necessary and the perhaps-surprising behavior of skipping tests if
they aren't present.

Signed-off-by: Ethan Glasser-Camp &lt;ethan@betacantrips.com&gt;
</content>
</entry>
<entry>
<title>test: allow user to choose which emacs to run tests with.</title>
<updated>2011-12-28T19:50:04Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-28T17:08:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bed6022ed1076803d89260762dd4d90e639f2756'/>
<id>urn:sha1:bed6022ed1076803d89260762dd4d90e639f2756</id>
<content type='text'>
As we start to pay more attention to emacs24, it helps to be able to
select a different version of emacs to run the tests with to verify
version specific bugs.

A separate variable TEST_EMACS is needed to avoid being overwritten by the
make variable EMACS in Makefile.config

For what it's worth, the value of emacs is chosen at the time
tmp.emacs/run_emacs is created, so is fixed for all subtests.
</content>
</entry>
<entry>
<title>test: add functions to count how much times notmuch was called</title>
<updated>2011-12-08T00:03:00Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-11-29T21:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e994bb28df895ae06ebaab54b4ef226f5bd8bb95'/>
<id>urn:sha1:e994bb28df895ae06ebaab54b4ef226f5bd8bb95</id>
<content type='text'>
The patch adds two auxiliary functions and a variable:

  notmuch_counter_reset
  $notmuch_counter_command
  notmuch_counter_value

They allow to count how many times notmuch binary is called.
notmuch_counter_reset() function generates a script that counts how
many times it is called and resets the counter to zero.  The function
sets $notmuch_counter_command variable to the path to the generated
script that should be called instead of notmuch to do the counting.
The notmuch_counter_value() function returns the current counter
value.
</content>
</entry>
<entry>
<title>test: add test-binaries target</title>
<updated>2011-12-06T13:37:44Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-03T22:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7bf1f6e85a1af283c62fcf5f305b762e20706a42'/>
<id>urn:sha1:7bf1f6e85a1af283c62fcf5f305b762e20706a42</id>
<content type='text'>
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
</content>
</entry>
<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>
</feed>
