From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: Test framework needed Date: Wed, 30 Mar 2011 16:30:54 +0200 Message-ID: <4D933E9E.7030907@gmail.com> References: <4D9329BC.6000106@gmail.com> <87r59og1pt.fsf@ericabrahamsen.net> <4D93369C.7010608@gmail.com> <87vcz03d4p.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38531 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4wQK-0008FZ-Pn for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4wQE-0006aQ-NB for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:31:04 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:57188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4wQE-0006Zx-D0 for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:30:58 -0400 Received: by wyf19 with SMTP id 19so1352205wyf.0 for ; Wed, 30 Mar 2011 07:30:57 -0700 (PDT) In-Reply-To: <87vcz03d4p.fsf@sbs.ch> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Egli Cc: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/03/11 16:18, Christian Egli wrote: > Rainer M Krug writes: > >>> http://www.emacswiki.org/emacs/UnitTesting >> >> Am I right in assuming, that all of the possible test frameworks would >> require org files and the expected output (tengle, export to ..., >> agenda, ...)? In this case, would it make sense to start collecting >> those, as they can easily be user contributed, consequently representing >> a cross section of the use cases (even not intended use cases)? > > Before you go too far with this; Orgmode already contains a unit test > suite. Look at the README in the testing directory > (http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=testing/README.org;hb=HEAD) > But it does not look as if it is used very often... There are not many test org files, and I did not se anything which compares the resulting exported / tangle file with an expected output? Please correct me if I am missing something. This suite should actually be updated with effectively each patch which introduces new features and run after each patch. So is it only necessary to add meat to this framework? Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2TPp4ACgkQoYgNqgF2egpBZQCfQN+g3J2+BiyKaWzh6o847mZS PR4An0aW0Di6vfgzwsJgwfK4FajL65WP =9/CW -----END PGP SIGNATURE-----