From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [PATCH]: BUG fix and Add header-args property to source block info Date: Wed, 11 Feb 2015 13:10:47 +0100 Message-ID: References: <871tlxxxd6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLW8A-0004GH-KQ for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 07:10:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLW85-0005FM-R6 for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 07:10:58 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:2357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLW85-0005Eh-KX for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 07:10:53 -0500 In-Reply-To: (Rainer M. Krug's message of "Tue, 10 Feb 2015 22:58:39 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, On 2015-02-10 22:58, Rainer M Krug writes: > Are there some guidelines on how to write tests? Never done this before... I recently wrote my first test, so here is how I did it. =2D find a similar test in testing/lisp/....el (maybe in test-ob-exp.el) =2D load the file testing/org-test.el (it has many helper functions, I needed them when testing links) =2D write and evaluate your ert-deftest =2D call ert to run the test Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJU20bLAAoJEAQNCjtO0uXHrCgH/0uALT3ufLhBvnDapb5NxXlq /ATKwyH4+2ULqfzr41PkUW22PjJhcUnmlx/4WGWosYvMjRoSttln2DowR+lnvtc4 7S6OGOr0UPivZn21EGqAkmOrLS+PXybbQtnl2pkl5GmBzMuoYgFVNRPjtvFvq4X8 iNShIM2uVJMdftPksO2ocJs9edkoNOQ9X7sa+QjCuUI3mQVBmu8cWpjzSMVq/+BM /56L1+82jHq/GNoTqNT4tWYXEWmVOCxuYWy75pP1UbXLL86AN+hg3O0WC5IhuCaZ ae9KW0I0CDBZklmyJlIT9g+ijHB7BMFFPIthfT/2+3K23K+oeR4+M2Ystt/sBLg= =w7cd -----END PGP SIGNATURE----- --=-=-=--