<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/basic, branch debian/0.10.2-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.10.2-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.10.2-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-09-13T02:36:00Z</updated>
<entry>
<title>test: Test atomicity of notmuch new.</title>
<updated>2011-09-13T02:36:00Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2011-01-28T18:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ade8160a6a3f6f55996d7a58dc2cd81a6df8395'/>
<id>urn:sha1:9ade8160a6a3f6f55996d7a58dc2cd81a6df8395</id>
<content type='text'>
This tests notmuch new's ability to recover from arbitrary stopping
failures.  It interrupts notmuch new after every database commit and,
on every resulting database snapshot, re-runs notmuch new to
completion and checks that the final database state is invariant.
</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>tests: add a test for symbol hiding side effects</title>
<updated>2011-06-23T10:05:25Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-06-22T11:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fba968dbfa806dc517fc55d1f28cf208f0316863'/>
<id>urn:sha1:fba968dbfa806dc517fc55d1f28cf208f0316863</id>
<content type='text'>
The worry here is that a binary linking with libnotmuch might lose
access to Xapian::Error symbols because libnotmuch hides them.

We are careful here to create ./fakedb/.notmuch in order to trigger a
Xapian exception, and not just a missing file check.

Thanks to jrollins and amddragon for suggestions.
(cherry picked from commit 66f37f5f6864a988f94ddb893e3a176af57f6c8e)
</content>
</entry>
<entry>
<title>test: add crypto tests for signature verification and decryption</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-26T01:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=627d752501b42326b9016271de33a6cb0fa2dc8c'/>
<id>urn:sha1:627d752501b42326b9016271de33a6cb0fa2dc8c</id>
<content type='text'>
This adds a new "crypto" test script to the test suite to test
PGP/MIME signature verification and message decryption.  Included here
is a test GNUPGHOME with a test secret key (passwordless), and test
for:

  * signing/verification
  * signing/verification with full owner trust
  * verification with signer key unavailable
  * encryption/decryption
  * decryption failure with missing key
  * encryption/decryption + signing/verfifying
  * reply to encrypted message
  * verification of signature from revoked key

These tests are not expected to pass now, but will as crypto
functionality is included.
</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 test-lib.el file with `visible-buffer-string' function</title>
<updated>2011-05-26T21:13:48Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-05-26T16:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5297b361d1c5c7dd62b80da0327c091e4c23b140'/>
<id>urn:sha1:5297b361d1c5c7dd62b80da0327c091e4c23b140</id>
<content type='text'>
The patch adds test-lib.el file for Emacs tests auxiliary stuff.
Currently, it implements two functions: `visible-buffer-string'
and `visible-buffer-substring'.  These are similar to standard
counterparts without "visible-" prefix but exclude invisible
text.  The functions are not used anywhere at the moment but
should be useful for testing hiding/showing in the Emacs
interface.

Edited-by: Carl Worth &lt;cworth@cworth.org&gt; Fixed "basic" test to ignore
new test-lib.el file.
</content>
</entry>
<entry>
<title>test: Make it easier to resolve conflicts when adding new tests</title>
<updated>2011-01-26T12:37:21Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2011-01-23T11:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cb6411e29135217aaf4abb0615a8ca730c5f2bc2'/>
<id>urn:sha1:cb6411e29135217aaf4abb0615a8ca730c5f2bc2</id>
<content type='text'>
Currently, there are two places in the test framework that contain very
long list on a single line. Whenever a test is added (or changed) in
several branches and these branches are merged, it results in conflict
which is hard to resolve because one has to go through the whole long
line to find where the conflict is.

This patch splits these long lists to several lines so that the
conflicts are easier to resolve.
</content>
</entry>
<entry>
<title>test/basic: Ignore new files ending in ~</title>
<updated>2011-01-15T23:37:43Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-01-15T22:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8a8d0b739509cf4c367f52aac26fd131fe665b46'/>
<id>urn:sha1:8a8d0b739509cf4c367f52aac26fd131fe665b46</id>
<content type='text'>
We don't need to complain that temporary editor backups are not added
to the list of tests to be run.
</content>
</entry>
<entry>
<title>test: Leave tmp.&lt;testname&gt; for broken tests</title>
<updated>2010-12-08T00:23:20Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-12-07T22:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b41aab78f2380c79512b1ed953f77acd86414dfb'/>
<id>urn:sha1:b41aab78f2380c79512b1ed953f77acd86414dfb</id>
<content type='text'>
Previously, this directory was only preserved for failing tests. But
it's important to be able to easily debug known-broken tests, so
preserve the actual vs. expected output for those as well.
</content>
</entry>
<entry>
<title>test: Better handling of stdout and stderr</title>
<updated>2010-11-16T19:28:06Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-11-14T21:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ac9dbb47de734afb0ddd4d0b2eb8f5027b1a7f60'/>
<id>urn:sha1:ac9dbb47de734afb0ddd4d0b2eb8f5027b1a7f60</id>
<content type='text'>
Git-style tests (test_expect_success etc.) suppress stdout and stderr
unless -v is given. Notmuch-style tests (created by test_begin_subtest
and test_expect_equal) do not have this behavior so implement it the
same.

Additionally, for both test styles, the test-lib.sh is changed so that
the content of suppressed stdout and stderr is shown in case of failed
test.

Finally a test for this functionality is added to basic tests.
</content>
</entry>
</feed>
