emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Orgmode testsuite
Date: Mon, 25 Jan 2016 09:35:08 -0500	[thread overview]
Message-ID: <87k2mxenhf.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: loom.20160125T133344-591@post.gmane.org

gongzhitaao <zhitaao.gong@gmail.com> 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

      parent reply	other threads:[~2016-01-25 14:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 12:40 Orgmode testsuite gongzhitaao
2016-01-25 13:00 ` Nicolas Goaziou
2016-01-28  6:51   ` Christian Kruse
2016-01-28  7:59     ` Nicolas Goaziou
2016-01-28  8:10       ` Christian Kruse
2016-01-28  9:47       ` Andrej Depperschmidt
2016-01-28 23:40         ` Nicolas Goaziou
2016-01-29  7:06           ` Andrej Depperschmidt
2016-01-29 13:25             ` Nicolas Goaziou
2016-01-29 19:37               ` Andrej Depperschmidt
2016-01-29 21:37                 ` Nicolas Goaziou
2016-01-30 11:11                   ` Andrej Depperschmidt
2016-01-25 14:35 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2mxenhf.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).