Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 43C82429E3B for ; Tue, 17 Jan 2012 05:25:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DEwXsyHUhsHy for ; Tue, 17 Jan 2012 05:25:00 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BA19A429E2F for ; Tue, 17 Jan 2012 05:24:59 -0800 (PST) Received: by wgbdr13 with SMTP id dr13so1236228wgb.2 for ; Tue, 17 Jan 2012 05:24:58 -0800 (PST) Received: by 10.180.82.41 with SMTP id f9mr28239819wiy.7.1326806698625; Tue, 17 Jan 2012 05:24:58 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id bj10sm16777974wib.9.2012.01.17.05.24.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jan 2012 05:24:57 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 76197A0048; Tue, 17 Jan 2012 13:24:55 +0000 (GMT) To: Dmitry Kurochkin , notmuch@notmuchmail.org Subject: Re: [PATCH 1/4] test: Add `test_emacs_expect_t'. In-Reply-To: <87pqei327k.fsf@gmail.com> References: <1326804748-8989-1-git-send-email-dme@dme.org> <1326804748-8989-2-git-send-email-dme@dme.org> <87pqei327k.fsf@gmail.com> User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Tue, 17 Jan 2012 13:24:55 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 13:25:00 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable (And one for the list...) On Tue, 17 Jan 2012 17:09:35 +0400, Dmitry Kurochkin wrote: > -1 >=20 > This is not what I suggested. I do not like the approach when a single > function is used to both declare a subtest and test for result (as > opposed to test_begin_subtest). The fact that it is possible to write > tests in two different ways makes it hard to maintain and improve the > test framework (one example would be known broken test support). I > consider the proper way to write tests to be using the > test_begin_subtest function. Other functions are not currently > deprecated, but I am against adding new code that make the situation > worse. Sigh. Okay. > Also, please consider documenting new functions in README. Missed that, sorry. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8VdqcACgkQaezQq/BJZRaqSQCferjCVknfMKUg6dhMwVvnG8Ux LmcAoIgu2l7soNTfCmYRR5cWyzTbLRuZ =AIkY -----END PGP SIGNATURE----- --=-=-=--