aboutsummaryrefslogtreecommitdiff
path: root/test/basic
AgeCommit message (Collapse)Author
2011-01-26test: Make it easier to resolve conflicts when adding new testsMichal Sojka
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.
2011-01-15test/basic: Ignore new files ending in ~Carl Worth
We don't need to complain that temporary editor backups are not added to the list of tests to be run.
2010-12-07test: Leave tmp.<testname> for broken testsCarl Worth
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.
2010-11-16test: Better handling of stdout and stderrMichal Sojka
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.
2010-10-27test: Add test that emacs interface actually sends mail.Carl Worth
Rather than *reall* sending mail here, we instead have a new test program, smtp-dummy which implements (a small piece of) the server-side SMTP protocol and saves a mail message to the filename provided. This gives us reasonable test coverage of a large chunk of the notmuch+emacs code base (down to talking to an SMTP server with the final mail contents).
2010-10-22test: Fix false failure from the "available tests" test.Carl Worth
We recently added a new sub-directory below test, so we have to blacklist it explicitly in this test.
2010-09-20test: Fix the search and dump-restore tests to operator on non-empty mail store.Carl Worth
We do this with a new add_email_corpus function that establishes a mail store with 50 messages from the notmuch mailing list.
2010-09-20test: Fix PATH-checking test to work with --valgrindCarl Worth
The --valgrind option munges the PATH variable, so un-munge it before testing that we have PATH pointing to the source directory.
2010-09-20test: Fix test suite so that --valgrind option works.Carl Worth
The output is ugly, and we need a better suppressions file, but this is at least a start.
2010-09-20test: Add test to ensure that all available test scripts are runCarl Worth
Since we are now using an explicit list of tests to run in notmuch-test we need to be careful that we don't add a new file of tests and then forget to add it to the list.
2010-09-17test: Rename all tests to get rid of the ugly numbers in file names.Carl Worth
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.