From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Orgmode testsuite Date: Mon, 25 Jan 2016 09:35:08 -0500 Message-ID: <87k2mxenhf.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNiEl-0001sZ-Hn for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 09:35:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNiEh-00051H-GX for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 09:35:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:52225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNiEh-00050b-9U for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 09:35:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aNiEe-00055c-7v for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 15:35:16 +0100 Received: from pool-74-104-158-160.bstnma.fios.verizon.net ([74.104.158.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2016 15:35:16 +0100 Received: from ndokos by pool-74-104-158-160.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2016 15:35:16 +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: emacs-orgmode@gnu.org gongzhitaao writes: > Maybe it is good if someone could finish a test suit for Orgmode so > that it does not break things unexpectedly. (I'd be happy to if > someone could give me some guidance into the code structure) > The test suite is in the testing/ subdirectory of the org-mode git repo. The README file in that directory is a good introduction. Beyond that, you have to look at an example from the testing/lisp/ subdirectory: just choose one that is as simple as possible and tests a feature that you understand well. The test suite is invoked with "make test" from the main org-mode directory. It uses the ERT structure: (info "(ert) Top") HTH. -- Nick