emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Testing code
@ 2010-09-27 13:11 Sebastian Rose
  2010-09-27 16:06 ` Sebastian Rose
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2010-09-27 13:11 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


Hi,


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)?

Tehom wrote something below testing/html/ ...


Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Testing code
  2010-09-27 13:11 Testing code Sebastian Rose
@ 2010-09-27 16:06 ` Sebastian Rose
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2010-09-27 16:06 UTC (permalink / raw)
  To: Emacs-orgmode mailing list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-27 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 13:11 Testing code Sebastian Rose
2010-09-27 16:06 ` Sebastian Rose

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).