From: Sebastian Rose <sebastian_rose@gmx.de>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Testing code
Date: Mon, 27 Sep 2010 18:06:45 +0200 [thread overview]
Message-ID: <87r5gfdvca.fsf@gmx.de> (raw)
In-Reply-To: <87pqvzfi0e.fsf@gmx.de> (Sebastian Rose's message of "Mon, 27 Sep 2010 15:11:45 +0200")
Sebastian Rose <sebastian_rose@gmx.de> writes:
> I'd like to write a few simple tests for the modified hex-decoding
> functions I wrote for org-protocol.el.
> These functions and the patch is easier to understand and maintain if
> there are some simple tests, I guess.
>
> Could we have a short introduction in writing tests on Worg (or is it
> there)?
Hm - there's a little tutorial in org-tests/. But ert has grown and
consists now of 7 el files plus one texinfo file. As this seems easy to
use and comes with at least some documentation, I'll use ert [1] for a
start.
Once the tests are written, we can easily convert to something else.
Sebastian
[1] http://github.com/ohler/ert
prev parent reply other threads:[~2010-09-27 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 13:11 Testing code Sebastian Rose
2010-09-27 16:06 ` Sebastian Rose [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r5gfdvca.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.